Author: scabanovich
Date: 2010-10-26 06:12:38 -0400 (Tue, 26 Oct 2010)
New Revision: 26058
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/MarkerClearer.java
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/VerificationMarkers.java
Log:
JBIDE-7405
https://jira.jboss.org/browse/JBIDE-7405
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/MarkerClearer.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/MarkerClearer.java 2010-10-26
10:11:24 UTC (rev 26057)
+++
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/MarkerClearer.java 2010-10-26
10:12:38 UTC (rev 26058)
@@ -23,7 +23,7 @@
public static void clear(XModelObject o) {
if(o == null || o.getFileType() == XModelObject.NONE) return;
if(o.getFileType() == XModelObject.FILE) {
- ResourceMarkers markers = new ResourceMarkers(ResourceMarkers.JST_WEB_PROBLEM);
+ ResourceMarkers markers = new ResourceMarkers(ResourceMarkers.JST_WEB_PROBLEM,
ResourceMarkers.OLD_JST_WEB_PROBLEM);
markers.setModelObject(o);
markers.update();
} else {
Modified:
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/VerificationMarkers.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/VerificationMarkers.java 2010-10-26
10:11:24 UTC (rev 26057)
+++
trunk/common/plugins/org.jboss.tools.common.verification/src/org/jboss/tools/common/verification/vrules/core/resources/VerificationMarkers.java 2010-10-26
10:12:38 UTC (rev 26058)
@@ -17,7 +17,7 @@
ResourceProblems p;
public VerificationMarkers(ResourceProblems p) {
- super(ResourceMarkers.JST_WEB_PROBLEM);
+ super(ResourceMarkers.JST_WEB_PROBLEM, ResourceMarkers.OLD_JST_WEB_PROBLEM);
this.p = p;
}