diff --git a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/threading/SharedThreadLocalRandomInspectionBase.java b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/threading/SharedThreadLocalRandomInspectionBase.java index 1ad40a066096..776aa630dffd 100644 --- a/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/threading/SharedThreadLocalRandomInspectionBase.java +++ b/plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/threading/SharedThreadLocalRandomInspectionBase.java @@ -39,9 +39,10 @@ public class SharedThreadLocalRandomInspectionBase extends BaseInspection { protected final MethodMatcher myMethodMatcher; public SharedThreadLocalRandomInspectionBase() { - myMethodMatcher = new MethodMatcher(true, "ignoreArgumentToMethods") + myMethodMatcher = new MethodMatcher(false, "ignoreArgumentToMethods") .add("java.math.BigInteger", ".*") - .add("java.util.Collections", "shuffle"); + .add("java.util.Collections", "shuffle") + .finishDefault(); } @Nls