Optimize FirClassSymbol.hashCode()

This commit is contained in:
Mikhail Glukhikh
2019-06-11 19:26:11 +03:00
parent f4fefa042d
commit b3c21d6e14
@@ -18,9 +18,5 @@ class FirClassSymbol(override val classId: ClassId) : ConeClassSymbol, AbstractF
override fun equals(other: Any?): Boolean =
other is FirClassSymbol && fir == other.fir
override fun hashCode(): Int {
var result = 31
result = result * 19 + fir.hashCode()
return result
}
override fun hashCode(): Int = fir.hashCode()
}