svn commit: r672355 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r672355 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

jleroux@apache.org
Author: jleroux
Date: Fri Jun 27 12:03:38 2008
New Revision: 672355

URL: http://svn.apache.org/viewvc?rev=672355&view=rev
Log:
Fix some formatting issues Jacopo reported and I missed before, sorry for that

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java?rev=672355&r1=672354&r2=672355&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java Fri Jun 27 12:03:38 2008
@@ -979,7 +979,9 @@
                 }
             }
             if (isGroupBy) {
-                while (resultSet.next()) count++;
+                while (resultSet.next()) {
+                    count++;
+                }
             }
             else if (resultSet.next()) {
                 count = resultSet.getLong(1);