mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-33601 - ISE: RedundantSuppressInspection.checkElement
This commit is contained in:
@@ -167,14 +167,14 @@ public class RedundantSuppressInspection extends GlobalInspectionTool{
|
||||
suppressedTools.add(tool);
|
||||
} else {
|
||||
iterator.remove();
|
||||
if (ids.isEmpty()) break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (tool.getShortName().equals(shortName)) {
|
||||
//ignore global unused as it won't be checked anyway
|
||||
if (!(tool instanceof LocalInspectionToolWrapper) && !(tool instanceof GlobalInspectionToolWrapper)) {
|
||||
iterator.remove();
|
||||
if (ids.isEmpty()) break;
|
||||
break;
|
||||
} else {
|
||||
suppressedTools.add(tool);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user