mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
notnull
This commit is contained in:
-1
@@ -115,7 +115,6 @@ public class RedundantSuppressInspectionBase extends GlobalInspectionTool {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Nullable
|
||||
public ProblemDescriptor[] checkElement(@NotNull final PsiElement psiElement, @NotNull final InspectionManager manager) {
|
||||
final Map<PsiElement, Collection<String>> suppressedScopes = new THashMap<>();
|
||||
psiElement.accept(new JavaRecursiveElementWalkingVisitor() {
|
||||
|
||||
+1
@@ -31,6 +31,7 @@ public class RemoveRedundantUncheckedSuppressionTest extends LightQuickFixParame
|
||||
final PossibleHeapPollutionVarargsInspection varargsInspection = new PossibleHeapPollutionVarargsInspection();
|
||||
final UncheckedWarningLocalInspection warningLocalInspection = new UncheckedWarningLocalInspection();
|
||||
final RedundantSuppressInspection inspection = new RedundantSuppressInspection(){
|
||||
@NotNull
|
||||
@Override
|
||||
protected InspectionToolWrapper[] getInspectionTools(PsiElement psiElement, @NotNull InspectionManager manager) {
|
||||
return new InspectionToolWrapper[]{
|
||||
|
||||
Reference in New Issue
Block a user