commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brentwor...@apache.org
Subject svn commit: r1023281 - in /commons/proper/collections/trunk/src: java/org/apache/commons/collections/collection/ java/org/apache/commons/collections/set/ test/org/apache/commons/collections/map/ test/org/apache/commons/collections/set/
Date Sat, 16 Oct 2010 13:24:13 GMT
Author: brentworden
Date: Sat Oct 16 13:24:12 2010
New Revision: 1023281

URL: http://svn.apache.org/viewvc?rev=1023281&view=rev
Log:
[COLLECTIONS-327] added serialVersionUID.

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/EmptyMapMutator.java
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/EmptySetMutator.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java?rev=1023281&r1=1023280&r2=1023281&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java
Sat Oct 16 13:24:12 2010
@@ -45,6 +45,9 @@ import org.apache.commons.collections.li
  */
 public class CompositeCollection<E> implements Collection<E>, Serializable {
 
+    /** Serialization version */
+    private static final long serialVersionUID = 1L;
+
     /** CollectionMutator to handle changes to the collection */
     protected CollectionMutator<E> mutator;
 

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java?rev=1023281&r1=1023280&r2=1023281&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java
Sat Oct 16 13:24:12 2010
@@ -37,6 +37,9 @@ import org.apache.commons.collections.co
  */
 public class CompositeSet<E> extends CompositeCollection<E> implements Set<E>
{
 
+    /** Serialization version */
+    private static final long serialVersionUID = 1L;
+
     /**
      * Create an empty CompositeSet
      */

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/EmptyMapMutator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/EmptyMapMutator.java?rev=1023281&r1=1023280&r2=1023281&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/EmptyMapMutator.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/map/EmptyMapMutator.java
Sat Oct 16 13:24:12 2010
@@ -25,6 +25,9 @@ import java.util.Collection;
  * class also has to be serialized. 
  */
 class EmptyMapMutator implements CompositeMap.MapMutator {
+    /** Serialization version */
+    private static final long serialVersionUID = 1L;
+
     public void resolveCollision(CompositeMap composite,
     Map existing,
     Map added,

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/EmptySetMutator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/EmptySetMutator.java?rev=1023281&r1=1023280&r2=1023281&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/EmptySetMutator.java
(original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/set/EmptySetMutator.java
Sat Oct 16 13:24:12 2010
@@ -28,6 +28,10 @@ import org.apache.commons.collections.co
  * class also has to be serialized. 
  */
 class EmptySetMutator<E> implements CompositeSet.SetMutator<E> {
+
+    /** Serialization version */
+    private static final long serialVersionUID = 1L;
+
     private Set<E> contained;
 
     public EmptySetMutator(Set<E> set) {



Mime
View raw message