Author: vrubezhny
Date: 2012-08-17 13:06:51 -0400 (Fri, 17 Aug 2012)
New Revision: 43098
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
Log:
JBIDE-12436
False validation problem for elements annotated @SuppressWarnings
Issue is fixed
Modified:
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-08-17
15:35:59 UTC (rev 43097)
+++
trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/java/JavaDirtyRegionProcessor.java 2012-08-17
17:06:51 UTC (rev 43098)
@@ -224,7 +224,7 @@
}
public void finishReporting() {
- if (isCancelled() || messages.isEmpty() || getAnnotationModel() == null ||
fCompilationUnit == null)
+ if (isCancelled() || getAnnotationModel() == null || fCompilationUnit == null)
return;
IEditorInput editorInput= fEditor.getEditorInput();
Show replies by date