commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1165070 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletSessionScopeMap.java
Date Sun, 04 Sep 2011 16:21:36 GMT
Author: simonetripodi
Date: Sun Sep  4 16:21:36 2011
New Revision: 1165070

URL: http://svn.apache.org/viewvc?rev=1165070&view=rev
Log:
infered MapEntry generic types

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

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletSessionScopeMap.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletSessionScopeMap.java?rev=1165070&r1=1165069&r2=1165070&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletSessionScopeMap.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/ServletSessionScopeMap.java
Sun Sep  4 16:21:36 2011
@@ -88,7 +88,7 @@ final class ServletSessionScopeMap imple
             String key;
             while (keys.hasMoreElements()) {
                 key = keys.nextElement();
-                set.add(new MapEntry(key, session.getAttribute(key), true));
+                set.add(new MapEntry<String, Object>(key, session.getAttribute(key),
true));
             }
         }
         return set;



Mime
View raw message