Java to Kotlin converter: replacing equals call to ==/!= and no redundant parethesis generation
#KT-4426 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user