[jbosstools-commits] JBoss Tools SVN: r9442 - trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Jul 31 04:50:47 EDT 2008


Author: dmaliarevich
Date: 2008-07-31 04:50:47 -0400 (Thu, 31 Jul 2008)
New Revision: 9442

Modified:
   trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2043, code adjustment

Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java	2008-07-30 20:04:32 UTC (rev 9441)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java	2008-07-31 08:50:47 UTC (rev 9442)
@@ -10,7 +10,6 @@
   ******************************************************************************/
 package org.jboss.tools.vpe.html.template;
 
-import org.jboss.tools.jst.jsp.jspeditor.SourceEditorPageContext;
 import org.jboss.tools.vpe.editor.context.VpePageContext;
 import org.jboss.tools.vpe.editor.template.VpeAbstractTemplate;
 import org.jboss.tools.vpe.editor.template.VpeCreationData;
@@ -28,11 +27,6 @@
  */
 public class HtmlImgTemplate extends VpeAbstractTemplate {
 
-	/*
-	 * Facelets "jsfc" attribute
-	 */
-	private static final String JSFC = "jsfc";
-	
 	/* (non-Javadoc)
 	 * @see org.jboss.tools.vpe.editor.template.VpeTemplate#create(org.jboss.tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node, org.mozilla.interfaces.nsIDOMDocument)
 	 */
@@ -54,7 +48,7 @@
 			if (HTML.ATTR_SRC.equalsIgnoreCase(name)) {
 				continue;
 			}
-			if (JSFC.equalsIgnoreCase(name)) {
+			if (HTML.ATTR_JSFC.equalsIgnoreCase(name)) {
 				jsfc = true;
 				continue;
 			}




More information about the jbosstools-commits mailing list