mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove option: IDEA-CR-24906
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user