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:
Valentin Kipyatkov
2014-07-09 16:14:30 +04:00
parent 514f11695f
commit 9bd742472d
7 changed files with 45 additions and 0 deletions
@@ -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)
}
}