Fixed KT-5339 J2K: convert Objects.equals to == and !=
Mock JDK regenerated to add java.util.Objects #KT-5339 Fixed
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
//file
|
||||
import java.util.Objects;
|
||||
|
||||
interface I {
|
||||
}
|
||||
|
||||
class C{
|
||||
boolean foo1(I i1, I i2) {
|
||||
return Objects.equals(i1, i2))
|
||||
}
|
||||
|
||||
boolean foo2(I i1, I i2) {
|
||||
return !java.util.Objects.equals(i1, i2)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user