diff --git a/java/java-impl/src/com/intellij/codeInspection/ReplaceNullCheckInspection.java b/java/java-impl/src/com/intellij/codeInspection/ReplaceNullCheckInspection.java index 9b6a67100ed7..35dec57d3b98 100644 --- a/java/java-impl/src/com/intellij/codeInspection/ReplaceNullCheckInspection.java +++ b/java/java-impl/src/com/intellij/codeInspection/ReplaceNullCheckInspection.java @@ -25,7 +25,7 @@ import static com.intellij.util.ObjectUtils.tryCast; public class ReplaceNullCheckInspection extends AbstractBaseJavaLocalInspectionTool { private static final EquivalenceChecker ourEquivalence = EquivalenceChecker.getCanonicalPsiEquivalence(); - public int MINIMAL_WARN_DELTA_SIZE = 30; + private int MINIMAL_WARN_DELTA_SIZE = 30; private static final CallMatcher STREAM_EMPTY = CallMatcher.staticCall(CommonClassNames.JAVA_UTIL_STREAM_STREAM, "empty") .parameterCount(0); @@ -34,15 +34,6 @@ public class ReplaceNullCheckInspection extends AbstractBaseJavaLocalInspectionT CallMatcher.staticCall(CommonClassNames.JAVA_UTIL_STREAM_STREAM, "of").parameterTypes("T") ); - @Nullable - @Override - public JComponent createOptionsPanel() { - return new SingleIntegerFieldOptionsPanel( - InspectionsBundle.message("inspection.require.non.null.option.min.size"), - this, "MINIMAL_WARN_DELTA_SIZE" - ); - } - @NotNull @Override public PsiElementVisitor buildVisitor(@NotNull ProblemsHolder holder, boolean isOnTheFly) {