svn commit: r808859 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

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

svn commit: r808859 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

lektran
Author: lektran
Date: Fri Aug 28 12:22:59 2009
New Revision: 808859

URL: http://svn.apache.org/viewvc?rev=808859&view=rev
Log:
Removing unnecessary beforeFirst() call, fixes problem reported by Matthieu Bollot on the dev list

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=808859&r1=808858&r2=808859&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Fri Aug 28 12:22:59 2009
@@ -2434,7 +2434,6 @@
             EntityListIterator iter = (EntityListIterator) entryList;
             try {
                 listSize = iter.getResultsSizeAfterPartialList();
-                iter.beforeFirst();
             } catch (GenericEntityException e) {
                 Debug.logError(e, "Error getting list size", module);
                 listSize = 0;