commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1023832 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
Date Mon, 18 Oct 2010 15:07:04 GMT
Author: sebb
Date: Mon Oct 18 15:07:04 2010
New Revision: 1023832

URL: http://svn.apache.org/viewvc?rev=1023832&view=rev
Log:
Raw types

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java?rev=1023832&r1=1023831&r2=1023832&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
Mon Oct 18 15:07:04 2010
@@ -1312,11 +1312,11 @@ public class AbstractHashedMap<K, V> ext
         if (obj instanceof Map == false) {
             return false;
         }
-        Map map = (Map) obj;
+        Map<?,?> map = (Map<?,?>) obj;
         if (map.size() != size()) {
             return false;
         }
-        MapIterator it = mapIterator();
+        MapIterator<?,?> it = mapIterator();
         try {
             while (it.hasNext()) {
                 Object key = it.next();



Mime
View raw message