[jboss-cvs] jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console ...

Max Rydahl Andersen mandersen at jboss.com
Fri Apr 13 12:59:19 EDT 2007


  User: mandersen
  Date: 07/04/13 12:59:19

  Modified:    hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console 
                        ConsoleConfiguration.java
  Log:
  npe
  
  Revision  Changes    Path
  1.20      +1 -1      jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ConsoleConfiguration.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosside/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ConsoleConfiguration.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- ConsoleConfiguration.java	16 Mar 2007 09:02:38 -0000	1.19
  +++ ConsoleConfiguration.java	13 Apr 2007 16:59:19 -0000	1.20
  @@ -191,7 +191,7 @@
   					
   					if(properties!=null) {
   						String str = properties.getProperty( "hibernate.transaction.manager_lookup_class" );
  -						if(str.trim().length()==0) {
  +						if(StringHelper.isEmpty( str )) {
   							properties.setProperty( "hibernate.transaction.manager_lookup_class", "org.hibernate.console.FakeTransactionManagerLookup");
   						}
   					}
  
  
  



More information about the jboss-cvs-commits mailing list