svn commit: r1068128 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java

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

svn commit: r1068128 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapCollection.java

mrisaliti
Author: mrisaliti
Date: Mon Feb  7 20:56:02 2011
New Revision: 1068128

URL: http://svn.apache.org/viewvc?rev=1068128&view=rev
Log:
Remove compilation warnings of an unused variable in GenericMapCollection (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=1068128&r1=1068127&r2=1068128&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 Mon Feb  7 20:56:02 2011
@@ -45,6 +45,7 @@ public abstract class GenericMapCollecti
     }
 
     public boolean containsAll(Collection<?> collection) {
+        @SuppressWarnings("unused")
         int count = 0;
         for (Object item: collection) {
             if (!contains(item)) return false;