commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1023833 - /commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java
Date Mon, 18 Oct 2010 15:08:14 GMT
Author: sebb
Date: Mon Oct 18 15:08:14 2010
New Revision: 1023833

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

Modified:
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java?rev=1023833&r1=1023832&r2=1023833&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/bag/AbstractTestBag.java
Mon Oct 18 15:08:14 2010
@@ -524,7 +524,7 @@ public abstract class AbstractTestBag<T>
         bag.add((T) "B");
         bag.add((T) "C");
         if (bag instanceof Serializable && !skipSerializedCanonicalTests() &&
isTestSerialization()) {
-            Bag bag2 = (Bag) readExternalFormFromDisk(getCanonicalFullCollectionName(bag));
+            Bag<?> bag2 = (Bag<?>) readExternalFormFromDisk(getCanonicalFullCollectionName(bag));
             assertEquals("Bag is the right size",bag.size(), bag2.size());
             assertEquals(bag, bag2);
         }



Mime
View raw message