From ffcbbec2a1708fa46651604b061712a19009cde4 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 10 May 2017 15:40:24 +0300 Subject: [PATCH] inspections: IDEA-172636 view should properly detect whether there are problems or not in case of annotator --- .../codeInspection/ui/DefaultInspectionToolPresentation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInspection/ui/DefaultInspectionToolPresentation.java b/platform/lang-impl/src/com/intellij/codeInspection/ui/DefaultInspectionToolPresentation.java index ff61897874e9..669e455aefdb 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/ui/DefaultInspectionToolPresentation.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/ui/DefaultInspectionToolPresentation.java @@ -533,7 +533,7 @@ public class DefaultInspectionToolPresentation implements ProblemDescriptionsPro @Override public boolean hasReportedProblems() { - return !getProblemElements().isEmpty(); + return !myProblemToElements.isEmpty(); } @Override