inspection tool window: do node include suppressed and fixed nodes to statistics

This commit is contained in:
Dmitry Batkovich
2016-04-21 15:47:52 +03:00
parent a30a571d92
commit 1b87322739
@@ -86,7 +86,9 @@ public class ProblemDescriptionNode extends SuppressableInspectionTreeNode {
@Override
public void visitProblemSeverities(FactoryMap<HighlightDisplayLevel, Integer> counter) {
counter.put(myLevel, counter.get(myLevel) + 1);
if (!myPresentation.isProblemResolved(getElement(), myDescriptor)) {
counter.put(myLevel, counter.get(myLevel) + 1);
}
}
@Override