This commit is contained in:
Alexey Kudravtsev
2017-03-16 15:10:06 +03:00
parent acd92dce18
commit f4c7ebb67f
2 changed files with 1 additions and 1 deletions
@@ -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() {
@@ -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[]{