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:
Sebastian Bazley 2010-10-18 15:08:14 +00:00
parent 1fb865ca56
commit 0e024cabe1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}