inspection view: attach problems from same inspection and different scopes to one inspection node

This commit is contained in:
Dmitry Batkovich
2018-12-04 17:00:20 +03:00
parent 9d90b90f72
commit e68dd1dd0d
@@ -160,7 +160,7 @@ public class InspectionTreeModel extends BaseTreeModel<InspectionTreeNode> {
@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,