Author: vrubezhny
Date: 2010-08-10 12:31:16 -0400 (Tue, 10 Aug 2010)
New Revision: 24025
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java
Log:
JBIDE-6211: Move jsp/jsf/xml source editing to the Eclipse 3.6
And it's subtasks:
JBIDE-6266: Support for the Categories in JBoss CA processors
JBIDE-6509: Some JBoss CA tagname proposals duplicate the WTP ones
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java 2010-08-10
15:58:55 UTC (rev 24024)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/contentassist/computers/XmlTagCompletionProposalComputer.java 2010-08-10
16:31:16 UTC (rev 24025)
@@ -195,8 +195,7 @@
if (n == null)
return false;
- String existingAttributeName = ((Element)n).getAttribute(attrName);
- return (existingAttributeName != null && existingAttributeName.length() >
0);
+ return (((Element)n).getAttributeNode(attrName) != null);
} finally {
if (sModel != null) {
sModel.releaseFromRead();
Show replies by date