From dcea8c849fc51b844c0dd38811bd909f9605627e Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 1 Jun 2016 10:54:35 +0300 Subject: [PATCH] inspection toolwindow: export xml: export of all kinds of problems when severities is different for different scopes --- .../intellij/codeInspection/ui/actions/ExportHTMLAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/ExportHTMLAction.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/ExportHTMLAction.java index e540960dafdc..8e336a170c4e 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/ExportHTMLAction.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/actions/ExportHTMLAction.java @@ -140,10 +140,10 @@ public class ExportHTMLAction extends AnAction implements DumbAware { InspectionNode toolNode = (InspectionNode)node; Element problems = new Element(PROBLEMS); InspectionToolWrapper toolWrapper = toolNode.getToolWrapper(); + if (!visitedWrappers.add(toolWrapper)) return true; final Set toolWrappers = getWorkedTools(toolNode); for (InspectionToolWrapper wrapper : toolWrappers) { - if (!visitedWrappers.add(wrapper)) continue; InspectionToolPresentation presentation = myView.getGlobalInspectionContext().getPresentation(wrapper); final ExcludedInspectionTreeNodesManager excludedManager = myView.getExcludedManager(); if (!toolNode.isExcluded(excludedManager)) {