You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/10/19 05:14:50 UTC

svn commit: r1024099 - /commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java

Author: sebb
Date: Tue Oct 19 03:14:50 2010
New Revision: 1024099

URL: http://svn.apache.org/viewvc?rev=1024099&view=rev
Log:
Ignore serialUID warnings

Modified:
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java?rev=1024099&r1=1024098&r2=1024099&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java (original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/collection/TestCompositeCollection.java Tue Oct 19 03:14:50 2010
@@ -125,6 +125,7 @@ public class TestCompositeCollection<E> 
         two = new HashSet<E>();
     }
 
+    @SuppressWarnings("serial")
     protected void setUpMutatorTest() {
         setUpTest();
         c.setMutator(new CompositeCollection.CollectionMutator<E>() {
@@ -241,7 +242,7 @@ public class TestCompositeCollection<E> 
         assertTrue(one.contains("1"));
     }
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "unchecked", "serial" })
     public void testAddAllMutator() {
         setUpTest();
         c.setMutator(new CompositeCollection.CollectionMutator<E>() {
@@ -274,7 +275,7 @@ public class TestCompositeCollection<E> 
         assertTrue(one.contains("foo"));
     }
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "unchecked", "serial" })
     public void testAddMutator() {
         setUpTest();
         c.setMutator(new CompositeCollection.CollectionMutator<E>() {