[jbosstools-commits] JBoss Tools SVN: r21003 - trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Mar 24 10:05:35 EDT 2010


Author: dgeraskov
Date: 2010-03-24 10:05:34 -0400 (Wed, 24 Mar 2010)
New Revision: 21003

Modified:
   trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6097

Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java	2010-03-24 14:02:28 UTC (rev 21002)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/src/org/hibernate/eclipse/jdt/ui/wizards/ConfigurationActor.java	2010-03-24 14:05:34 UTC (rev 21003)
@@ -197,11 +197,11 @@
 					if (subclass instanceof JoinedSubclass) {
 						((JoinedSubclass) subclass).setTable(new Table(pastClass.getClassName().toUpperCase()));
 						((JoinedSubclass) subclass).setKey((KeyValue) pc.getIdentifierProperty().getValue());
-					} else {
-						if (pastClass.getIdentifierProperty() != null) {
-							subclass.addProperty(pastClass.getIdentifierProperty());
-						}
 					}
+					if (pastClass.getIdentifierProperty() != null) {
+						subclass.addProperty(pastClass.getIdentifierProperty());
+					}
+					
 					Iterator it = pastClass.getPropertyIterator();
 					while (it.hasNext()) {
 						subclass.addProperty((Property) it.next());



More information about the jbosstools-commits mailing list