You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/02/09 21:36:19 UTC

svn commit: r1069072 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java

Author: mrisaliti
Date: Wed Feb  9 20:36:18 2011
New Revision: 1069072

URL: http://svn.apache.org/viewvc?rev=1069072&view=rev
Log:
Remove an unused variable/import in EntityDataAssert (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java?rev=1069072&r1=1069071&r2=1069072&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntityDataAssert.java Wed Feb  9 20:36:18 2011
@@ -20,7 +20,6 @@ package org.ofbiz.entity.util;
 
 import java.io.IOException;
 import java.net.URL;
-import java.util.Iterator;
 import java.util.List;
 
 import javax.xml.parsers.ParserConfigurationException;
@@ -71,7 +70,6 @@ public class EntityDataAssert {
     public static void checkValueList(List<GenericValue> valueList, Delegator delegator, List<Object> errorMessages) throws GenericEntityException {
         if (valueList == null) return;
 
-        Iterator<GenericValue> valueIter = valueList.iterator();
         for (GenericValue checkValue : valueList) {
             checkSingleValue(checkValue, delegator, errorMessages);
         }