Author: jleroux
Date: Fri Jun 27 12:07:11 2008
New Revision: 672357
URL:
http://svn.apache.org/viewvc?rev=672357&view=revLog:
Now, it's obvious that I did not write it myself :D
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=672357&r1=672356&r2=672357&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:07:11 2008
@@ -982,8 +982,7 @@
while (resultSet.next()) {
count++;
}
- }
- else if (resultSet.next()) {
+ } else if (resultSet.next()) {
count = resultSet.getLong(1);
}
return count;