commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1034823 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
Date Sat, 13 Nov 2010 17:49:01 GMT
Author: sebb
Date: Sat Nov 13 17:49:00 2010
New Revision: 1034823

URL: http://svn.apache.org/viewvc?rev=1034823&view=rev
Log:
Avoid raw type warnings

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java?rev=1034823&r1=1034822&r2=1034823&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
Sat Nov 13 17:49:00 2010
@@ -340,7 +340,7 @@ public class SerializationUtilsTest exte
     //-----------------------------------------------------------------------
 
     public void testClone() throws Exception {
-        HashMap<?, ?> test = SerializationUtils.clone(iMap);
+        Object test = SerializationUtils.clone(iMap);
         assertNotNull(test);
         assertTrue(test instanceof HashMap<?,?>);
         assertTrue(test != iMap);



Mime
View raw message