mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
TypeConstraints.ExactArray: missing hashCode added
GitOrigin-RevId: f33d03f76e0b8983b38027d3f539dea8b7759b07
This commit is contained in:
committed by
intellij-monorepo-bot
parent
01b85a27d7
commit
40c529350a
@@ -389,6 +389,11 @@ public class TypeConstraints {
|
||||
return obj == this || obj instanceof ExactArray && myComponent.equals(((ExactArray)obj).myComponent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return myComponent.hashCode() * 31 + 1;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
Reference in New Issue
Block a user