Author: mrisaliti
Date: Tue Feb 8 18:29:35 2011
New Revision: 1068507
URL:
http://svn.apache.org/viewvc?rev=1068507&view=revLog:
Remove an unused private variable of method containsAll in GenericMapCollection instead of suppress it as unused (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java?rev=1068507&r1=1068506&r2=1068507&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java Tue Feb 8 18:29:35 2011
@@ -45,8 +45,6 @@ public abstract class GenericMapCollecti
}
public boolean containsAll(Collection<?> collection) {
- @SuppressWarnings("unused")
- int count = 0;
for (Object item: collection) {
if (!contains(item)) return false;
}