diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java index fb5b1c317f26..b8eeddb35d4c 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java @@ -129,7 +129,7 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren private InspectionTreeLoadingProgressAware myLoadingProgressPreview; private final ExcludedInspectionTreeNodesManager myExcludedInspectionTreeNodesManager; private final Set mySuppressedNodes = new HashSet<>(); - private final ConcurrentMap> mySuppressActions = new ConcurrentHashMap<>(); + private final ConcurrentMap> mySuppressActions = new ConcurrentHashMap<>(); private final Object myTreeStructureUpdateLock = new Object(); @@ -621,8 +621,8 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren @NotNull public Set getSuppressActions(InspectionToolWrapper wrapper) { - return mySuppressActions.computeIfAbsent(wrapper, (w) -> { - final SuppressIntentionAction[] actions = InspectionManagerEx.getSuppressActions(w); + return mySuppressActions.computeIfAbsent(wrapper.getShortName(), (w) -> { + final SuppressIntentionAction[] actions = InspectionManagerEx.getSuppressActions(wrapper); return actions == null ? Collections.emptySet() : ContainerUtil.newLinkedHashSet(actions); }); }