Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1fb865ca56
commit
0e024cabe1
|
@ -524,7 +524,7 @@ public abstract class AbstractTestBag<T> extends AbstractTestObject {
|
|||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue