Author: scabanovich
Date: 2009-06-09 10:04:35 -0400 (Tue, 09 Jun 2009)
New Revision: 15819
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXmlComponentDeclaration.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4393
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXmlComponentDeclaration.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXmlComponentDeclaration.java 2009-06-09
13:57:08 UTC (rev 15818)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamXmlComponentDeclaration.java 2009-06-09
14:04:35 UTC (rev 15819)
@@ -31,7 +31,7 @@
String className = null;
String installed = null;
String jndiName = null;
- String precedence = null;
+ String precedence = "20";
String scope = null;
boolean isClassNameGuessed = false;
@@ -123,6 +123,9 @@
public void setPrecedence(String precedence) {
this.precedence = precedence;
+ if(precedence == null || precedence.length() == 0) {
+ precedence = "20";
+ }
}
public void setPrecedence(IValueInfo value) {