[hibernate-commits] Hibernate SVN: r20701 - core/trunk/core/src/main/java/org/hibernate/dialect.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Sat Sep 25 05:22:53 EDT 2010


Author: stliu
Date: 2010-09-25 05:22:53 -0400 (Sat, 25 Sep 2010)
New Revision: 20701

Modified:
   core/trunk/core/src/main/java/org/hibernate/dialect/HSQLDialect.java
Log:
HHH-5594 minor improvement

Modified: core/trunk/core/src/main/java/org/hibernate/dialect/HSQLDialect.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/dialect/HSQLDialect.java	2010-09-25 09:22:27 UTC (rev 20700)
+++ core/trunk/core/src/main/java/org/hibernate/dialect/HSQLDialect.java	2010-09-25 09:22:53 UTC (rev 20701)
@@ -464,7 +464,7 @@
 	}
 
 	/**
-	 * Different behaviour for GLOBAL TEMPORARY (1.8) and LOCAL TEMPORARY (2.0)
+	 * Different behavior for GLOBAL TEMPORARY (1.8) and LOCAL TEMPORARY (2.0)
 	 * <p/>
 	 * Possible return values and their meanings:<ul>
 	 * <li>{@link Boolean#TRUE} - Unequivocally, perform the temporary table DDL
@@ -653,7 +653,7 @@
 	}
 
     public String toBooleanValueString(boolean bool) {
-        return bool ? "true" : "false";
+        return String.valueOf( bool );
     }
 
 	public boolean supportsTupleDistinctCounts() {



More information about the hibernate-commits mailing list