From 94645dca6585e066ccbf8fd9bc9c990b905a39d2 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Tue, 19 Oct 2010 03:14:50 +0000 Subject: [PATCH] Ignore serialUID warnings git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024099 13f79535-47bb-0310-9956-ffa450edef68 --- .../collections/collection/TestCompositeCollection.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java b/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java index 38ab0761d..b81f1de73 100644 --- a/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java +++ b/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java @@ -125,6 +125,7 @@ public class TestCompositeCollection extends AbstractTestCollection { two = new HashSet(); } + @SuppressWarnings("serial") protected void setUpMutatorTest() { setUpTest(); c.setMutator(new CompositeCollection.CollectionMutator() { @@ -241,7 +242,7 @@ public class TestCompositeCollection extends AbstractTestCollection { assertTrue(one.contains("1")); } - @SuppressWarnings("unchecked") + @SuppressWarnings({ "unchecked", "serial" }) public void testAddAllMutator() { setUpTest(); c.setMutator(new CompositeCollection.CollectionMutator() { @@ -274,7 +275,7 @@ public class TestCompositeCollection extends AbstractTestCollection { assertTrue(one.contains("foo")); } - @SuppressWarnings("unchecked") + @SuppressWarnings({ "unchecked", "serial" }) public void testAddMutator() { setUpTest(); c.setMutator(new CompositeCollection.CollectionMutator() {