Java to Kotlin converter: replacing equals call to ==/!= and no redundant parethesis generation

#KT-4426 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-06 17:10:31 +04:00
parent d691abb1c4
commit 60d9e53e9f
41 changed files with 276 additions and 167 deletions
@@ -0,0 +1,13 @@
//file
interface I {
}
class C{
boolean foo1(I i1, I i2) {
return i1.equals(i2)
}
boolean foo2(I i1, I i2) {
return !i1.equals(i2)
}
}