commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1164669 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java
Date Fri, 02 Sep 2011 18:35:25 GMT
Author: simonetripodi
Date: Fri Sep  2 18:35:25 2011
New Revision: 1164669

URL: http://svn.apache.org/viewvc?rev=1164669&view=rev
Log:
muted Map.Entry generics warnings

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java?rev=1164669&r1=1164668&r2=1164669&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/MapEntry.java
Fri Sep  2 18:35:25 2011
@@ -109,7 +109,7 @@ public class MapEntry<K, V> implements M
      */
     public boolean equals(Object o) {
         if (o != null && o instanceof Map.Entry) {
-            Map.Entry entry = (Map.Entry)o;
+            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
             return (this.getKey() == null ?
                     entry.getKey() == null : this.getKey().equals(entry.getKey()))  &&
                    (this.getValue() == null ?



Mime
View raw message