Ignore serialUID warnings

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024099 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-10-19 03:14:50 +00:00
parent a6e67175e0
commit 94645dca65
1 changed files with 3 additions and 2 deletions

View File

@ -125,6 +125,7 @@ public class TestCompositeCollection<E> extends AbstractTestCollection<E> {
two = new HashSet<E>(); two = new HashSet<E>();
} }
@SuppressWarnings("serial")
protected void setUpMutatorTest() { protected void setUpMutatorTest() {
setUpTest(); setUpTest();
c.setMutator(new CompositeCollection.CollectionMutator<E>() { c.setMutator(new CompositeCollection.CollectionMutator<E>() {
@ -241,7 +242,7 @@ public class TestCompositeCollection<E> extends AbstractTestCollection<E> {
assertTrue(one.contains("1")); assertTrue(one.contains("1"));
} }
@SuppressWarnings("unchecked") @SuppressWarnings({ "unchecked", "serial" })
public void testAddAllMutator() { public void testAddAllMutator() {
setUpTest(); setUpTest();
c.setMutator(new CompositeCollection.CollectionMutator<E>() { c.setMutator(new CompositeCollection.CollectionMutator<E>() {
@ -274,7 +275,7 @@ public class TestCompositeCollection<E> extends AbstractTestCollection<E> {
assertTrue(one.contains("foo")); assertTrue(one.contains("foo"));
} }
@SuppressWarnings("unchecked") @SuppressWarnings({ "unchecked", "serial" })
public void testAddMutator() { public void testAddMutator() {
setUpTest(); setUpTest();
c.setMutator(new CompositeCollection.CollectionMutator<E>() { c.setMutator(new CompositeCollection.CollectionMutator<E>() {