From a56ada227c2a36001fba4f6038c7b34a3835f6f9 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Mon, 23 Dec 2019 20:11:37 +0700 Subject: [PATCH] TypeConstraints.Unresolved: hashCode implemented GitOrigin-RevId: 3aec074ee16a369b60f2c457e60acf898edcd80a --- .../intellij/codeInspection/dataFlow/TypeConstraints.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/TypeConstraints.java b/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/TypeConstraints.java index da83e4d39975..55d994171da9 100644 --- a/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/TypeConstraints.java +++ b/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/TypeConstraints.java @@ -436,6 +436,11 @@ public class TypeConstraints { return obj == this || obj instanceof Unresolved && myReference.equals(((Unresolved)obj).myReference); } + @Override + public int hashCode() { + return myReference.hashCode(); + } + @NotNull @Override public String toString() {