Author: mrisaliti
Date: Fri Mar 4 23:11:42 2011
New Revision: 1078203
URL:
http://svn.apache.org/viewvc?rev=1078203&view=revLog:
Remove some warning in GenericMapSet (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapSet.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapSet.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapSet.java?rev=1078203&r1=1078202&r2=1078203&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapSet.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/GenericMapSet.java Fri Mar 4 23:11:42 2011
@@ -28,8 +28,8 @@ public abstract class GenericMapSet<K, V
@Override
public final boolean equals(Object o) {
- if (!(o instanceof Set)) return false;
- Set other = (Set) o;
+ if (!(o instanceof Set<?>)) return false;
+ Set<?> other = (Set<?>) o;
if (source.size() != other.size()) return false;
for (I item: this) {
if (!other.contains(item)) return false;