commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1023782 - in /commons/proper/collections/trunk/src/test/org/apache/commons/collections: map/TestCompositeMap.java set/TestCompositeSet.java
Date Mon, 18 Oct 2010 13:06:44 GMT
Author: sebb
Date: Mon Oct 18 13:06:44 2010
New Revision: 1023782

URL: http://svn.apache.org/viewvc?rev=1023782&view=rev
Log:
serialVersionUID

Modified:
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestCompositeMap.java
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/TestCompositeSet.java

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestCompositeMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestCompositeMap.java?rev=1023782&r1=1023781&r2=1023782&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestCompositeMap.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/TestCompositeMap.java
Mon Oct 18 13:06:44 2010
@@ -135,6 +135,8 @@ public class TestCompositeMap<K, V> exte
     public void testResolveCollision() {
         CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),

             new CompositeMap.MapMutator<K, V>() {
+            private static final long serialVersionUID = 1L;
+
             public void resolveCollision(CompositeMap<K, V> composite,
             Map<K, V> existing,
             Map<K, V> added,
@@ -160,6 +162,7 @@ public class TestCompositeMap<K, V> exte
     public void testPut() {
         CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),

             new CompositeMap.MapMutator<K, V>() {
+            private static final long serialVersionUID = 1L;
             public void resolveCollision(CompositeMap<K, V> composite,
             Map<K, V> existing,
             Map<K, V> added,
@@ -185,6 +188,7 @@ public class TestCompositeMap<K, V> exte
     public void testPutAll() {
         CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),

             new CompositeMap.MapMutator<K, V>() {
+            private static final long serialVersionUID = 1L;
             public void resolveCollision(CompositeMap<K, V> composite,
             Map<K, V> existing,
             Map<K, V> added,

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/TestCompositeSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/TestCompositeSet.java?rev=1023782&r1=1023781&r2=1023782&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/TestCompositeSet.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/TestCompositeSet.java
Mon Oct 18 13:06:44 2010
@@ -99,6 +99,8 @@ public class TestCompositeSet<E> extends
         Set<E> two = buildTwo();
         CompositeSet<E> set = new CompositeSet<E>(new Set[] { one, two });
         set.setMutator(new CompositeSet.SetMutator<E>() {
+            private static final long serialVersionUID = 1L;
+
             public void resolveCollision(CompositeSet<E> comp, Set<E> existing,
                 Set<E> added, Collection<E> intersects) {
                 //noop



Mime
View raw message