[jbosstools-commits] JBoss Tools SVN: r42935 - trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Aug 8 14:34:45 EDT 2012


Author: akazakov
Date: 2012-08-08 14:34:44 -0400 (Wed, 08 Aug 2012)
New Revision: 42935

Modified:
   trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
Log:
https://issues.jboss.org/browse/JBIDE-10738 As-you-type EL validation

Modified: trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java	2012-08-08 18:22:53 UTC (rev 42934)
+++ trunk/common/plugins/org.jboss.tools.common.validation/src/org/jboss/tools/common/validation/TempMarkerManager.java	2012-08-08 18:34:44 UTC (rev 42935)
@@ -238,6 +238,9 @@
 												Position p = new Position(offset, length);
 												newAnnotations.put(newAnnotation, p);
 												annotationsToRemove.add(annotation);
+											} else if("org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor".equals(e.getClass().getName()) && "org.eclipse.jst.jsf.facelet.ui.FaceletValidationMarker".equals(type)) {
+												// Remove WTP's annotations for JBT JSP/XHTML editors.
+												annotationsToRemove.add(annotation);
 											}
 										} catch (CoreException ce) {
 											CommonPlugin.getDefault().logError(ce);



More information about the jbosstools-commits mailing list