mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-analysis] MutationSignature: hashCode to take myKind into account
GitOrigin-RevId: b3be323771cc3d3ba5b0da7383c715da8623a589
This commit is contained in:
committed by
intellij-monorepo-bot
parent
90ac4238b5
commit
48256799bb
+5
-1
@@ -138,7 +138,11 @@ public final class MutationSignature {
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return (myThis ? 4247 : 22661) + (myIo ? 137 : 731) + Arrays.hashCode(myParameters);
|
||||
int result = myKind.hashCode();
|
||||
result = 31 * result + Boolean.hashCode(myThis);
|
||||
result = 31 * result + Boolean.hashCode(myIo);
|
||||
result = 31 * result + Arrays.hashCode(myParameters);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user