inspections: IDEA-172636 view should properly detect whether there are problems or not in case of annotator

This commit is contained in:
Dmitry Batkovich
2017-05-10 16:15:46 +03:00
parent 1906673cbe
commit ffcbbec2a1
@@ -533,7 +533,7 @@ public class DefaultInspectionToolPresentation implements ProblemDescriptionsPro
@Override
public boolean hasReportedProblems() {
return !getProblemElements().isEmpty();
return !myProblemToElements.isEmpty();
}
@Override