[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences ...
Max Rydahl Andersen
mandersen at jboss.com
Mon Nov 27 10:30:18 EST 2006
User: mandersen
Date: 06/11/27 10:30:18
Modified: hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences
AbstractConsoleConfigurationPreferences.java
Log:
Reverse engineering is now using the underlying configuration more consistently - allow 100% persistence.xml based configuration.
Revision Changes Path
1.7 +1 -1 jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/AbstractConsoleConfigurationPreferences.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: AbstractConsoleConfigurationPreferences.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/preferences/AbstractConsoleConfigurationPreferences.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- AbstractConsoleConfigurationPreferences.java 15 Nov 2006 16:12:06 -0000 1.6
+++ AbstractConsoleConfigurationPreferences.java 27 Nov 2006 15:30:18 -0000 1.7
@@ -179,7 +179,7 @@
String attribute = node.getAttribute(ANNOTATIONS_ATTRIB);
- if(attribute!=null) {
+ if(StringHelper.isNotEmpty( attribute )) {
boolean oldAnnotationFlag = ((attribute != null) && attribute.equalsIgnoreCase("true"));
if(oldAnnotationFlag) {
configurationMode = ConfigurationMode.ANNOTATIONS;
More information about the jboss-cvs-commits
mailing list