[jboss-cvs] JBossAS SVN: r109179 - projects/cluster/ha-server-cache-ispn/trunk/src/test/java/org/jboss/web/tomcat/service/session/distributedcache/ispn.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Nov 5 13:27:52 EDT 2010


Author: pferraro
Date: 2010-11-05 13:27:51 -0400 (Fri, 05 Nov 2010)
New Revision: 109179

Modified:
   projects/cluster/ha-server-cache-ispn/trunk/src/test/java/org/jboss/web/tomcat/service/session/distributedcache/ispn/FineSessionAttributeStorageTest.java
Log:
Eliminate compiler warning

Modified: projects/cluster/ha-server-cache-ispn/trunk/src/test/java/org/jboss/web/tomcat/service/session/distributedcache/ispn/FineSessionAttributeStorageTest.java
===================================================================
--- projects/cluster/ha-server-cache-ispn/trunk/src/test/java/org/jboss/web/tomcat/service/session/distributedcache/ispn/FineSessionAttributeStorageTest.java	2010-11-05 16:44:30 UTC (rev 109178)
+++ projects/cluster/ha-server-cache-ispn/trunk/src/test/java/org/jboss/web/tomcat/service/session/distributedcache/ispn/FineSessionAttributeStorageTest.java	2010-11-05 17:27:51 UTC (rev 109179)
@@ -103,7 +103,7 @@
       Object marshalledAttribute = new Object();
 
       Map.Entry<Object, Object> nonAttributeEntry = new AbstractMap.SimpleImmutableEntry<Object, Object>(new Object(), new Object());
-      Map.Entry<Object, Object> attributeEntry = new AbstractMap.SimpleImmutableEntry<Object, Object>((Object) "key", marshalledAttribute);
+      Map.Entry<Object, Object> attributeEntry = new AbstractMap.SimpleImmutableEntry<Object, Object>("key", marshalledAttribute);
       @SuppressWarnings("unchecked")
       List<Map.Entry<Object, Object>> entries = Arrays.asList(nonAttributeEntry, attributeEntry);
       



More information about the jboss-cvs-commits mailing list