From d134a9106941cadd77a3418ffa0b388cb6e94fc4 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Wed, 23 Jan 2019 16:23:57 +0700 Subject: [PATCH] CommonDataflow: THashSet -> HashSet --- .../com/intellij/codeInspection/dataFlow/CommonDataflow.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/CommonDataflow.java b/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/CommonDataflow.java index 6eced1f659d4..b3b31cf1d08f 100644 --- a/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/CommonDataflow.java +++ b/java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/CommonDataflow.java @@ -10,7 +10,6 @@ import com.intellij.openapi.util.TextRange; import com.intellij.psi.*; import com.intellij.psi.util.*; import com.intellij.util.JavaPsiConstructorUtil; -import gnu.trove.THashSet; import one.util.streamex.StreamEx; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; @@ -35,7 +34,7 @@ public class CommonDataflow { DataflowPoint(DataflowPoint other) { myFacts = other.myFacts; myPossibleValues = other.myPossibleValues; - myNotValues = other.myNotValues == null || other.myNotValues.isEmpty() ? other.myNotValues : new THashSet<>(other.myNotValues); + myNotValues = other.myNotValues == null || other.myNotValues.isEmpty() ? other.myNotValues : new HashSet<>(other.myNotValues); myMayFailByContract = other.myMayFailByContract; } @@ -70,7 +69,7 @@ public class CommonDataflow { myPossibleValues = Collections.singleton(newValue); } else { - myPossibleValues = new THashSet<>(myPossibleValues); + myPossibleValues = new HashSet<>(myPossibleValues); myPossibleValues.add(newValue); } }