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:
parent
a6e67175e0
commit
94645dca65
|
@ -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>() {
|
||||||
|
|
Loading…
Reference in New Issue