Author: scabanovich
Date: 2009-06-17 07:43:04 -0400 (Wed, 17 Jun 2009)
New Revision: 16007
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4494
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2009-06-17
11:23:50 UTC (rev 16006)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/SeamProject.java 2009-06-17
11:43:04 UTC (rev 16007)
@@ -812,7 +812,7 @@
SeamComponentDeclaration current =
(SeamComponentDeclaration)currentComponents.remove(loaded.getId());
loaded.setSourcePath(source);
-
+
String name = getComponentName(loaded);
String oldName = getComponentName(current);
@@ -995,7 +995,7 @@
if(d == null) return null;
String name = d.getName();
- if(name == null || name.length() == 0 && d instanceof
SeamXmlComponentDeclaration) {
+ if((name == null || name.length() == 0) && d instanceof
SeamXmlComponentDeclaration) {
String className = getClassName(d);
if(className != null && className.length() > 0) {
SeamJavaComponentDeclaration jd = components.getJavaDeclaration(className);