Author: akazakov
Date: 2010-10-06 05:44:29 -0400 (Wed, 06 Oct 2010)
New Revision: 25510
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
Log:
https://jira.jboss.org/browse/JBIDE-7264
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-10-06
08:55:50 UTC (rev 25509)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/validation/ValidationErrorManager.java 2010-10-06
09:44:29 UTC (rev 25510)
@@ -262,10 +262,10 @@
}
int severity = getSeverity(markerType);
- int existingMarkers = resource.findMarkers(VALIDATION_MARKER, true,
IResource.DEPTH_ZERO).length;
- if(existingMarkers>1) {
- return null;
- }
+// int existingMarkers = resource.findMarkers(VALIDATION_MARKER, true,
IResource.DEPTH_ZERO).length;
+// if(existingMarkers>1) {
+// return null;
+// }
IMarker item = resource.createMarker(VALIDATION_MARKER); // add a validation marker