You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/06/27 21:07:11 UTC
svn commit: r672357 -
/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
Author: jleroux
Date: Fri Jun 27 12:07:11 2008
New Revision: 672357
URL: http://svn.apache.org/viewvc?rev=672357&view=rev
Log:
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;