From e68dd1dd0d039e39ce42cb77afd98bfcd8cdad19 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Tue, 4 Dec 2018 16:59:42 +0300 Subject: [PATCH] inspection view: attach problems from same inspection and different scopes to one inspection node --- .../src/com/intellij/codeInspection/ui/InspectionTreeModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java index dc339b1c3fe0..c2d8af1bda6b 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionTreeModel.java @@ -160,7 +160,7 @@ public class InspectionTreeModel extends BaseTreeModel { @NotNull public InspectionNode createInspectionNode(@NotNull InspectionToolWrapper toolWrapper, InspectionProfileImpl profile, @NotNull InspectionTreeNode parent) { - return getOrAdd(toolWrapper, () -> new InspectionNode(toolWrapper, profile, this), parent); + return getOrAdd(toolWrapper.getShortName(), () -> new InspectionNode(toolWrapper, profile, this), parent); } public void createProblemDescriptorNode(RefEntity element,