Replace identityEqulas with ===

This commit is contained in:
Ilya Gorbunov
2015-10-01 20:04:25 +03:00
parent b50c106648
commit ec416c5210
6 changed files with 6 additions and 6 deletions
@@ -59,7 +59,7 @@ public abstract class DeclarationLookupObjectImpl(
}
override fun equals(other: Any?): Boolean {
if (this identityEquals other) return true
if (this === other) return true
if (other == null || javaClass != other.javaClass) return false
val lookupObject = other as DeclarationLookupObjectImpl
return descriptorsEqualWithSubstitution(descriptor, lookupObject.descriptor) && psiElement == lookupObject.psiElement