[java-analysis] MutationSignature: hashCode to take myKind into account

GitOrigin-RevId: b3be323771cc3d3ba5b0da7383c715da8623a589
This commit is contained in:
Tagir Valeev
2024-12-04 15:17:36 +00:00
committed by intellij-monorepo-bot
parent 90ac4238b5
commit 48256799bb
@@ -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