Author: rob.stryker(a)jboss.com
Date: 2009-09-22 16:14:27 -0400 (Tue, 22 Sep 2009)
New Revision: 17695
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleDelegate.java
Log:
JBIDE-4320 - if and else needed to be swapped
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleDelegate.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleDelegate.java 2009-09-22
19:47:32 UTC (rev 17694)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleDelegate.java 2009-09-22
20:14:27 UTC (rev 17695)
@@ -48,9 +48,9 @@
if (node != null) {
double d = node.getDouble(IJBossESBFacetDataModelProperties.ESB_PROJECT_VERSION,
1.0);
if( d < 2.0 )
- return super.members();
+ return legacyMembers();
}
- return legacyMembers();
+ return super.members();
}
public IModuleResource[] legacyMembers() throws CoreException {