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/17 13:26:38 UTC

svn commit: r1023461 - in /commons/proper/collections/trunk/src: java/org/apache/commons/collections/ java/org/apache/commons/collections/collection/ java/org/apache/commons/collections/functors/ java/org/apache/commons/collections/set/ test/org/apache...

Author: sebb
Date: Sun Oct 17 11:26:38 2010
New Revision: 1023461

URL: http://svn.apache.org/viewvc?rev=1023461&view=rev
Log:
Use generated rather than dummy serialVersionUIDs

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/ExtendedProperties.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/collection/CompositeCollection.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ComparatorPredicate.java
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/set/CompositeSet.java
    commons/proper/collections/trunk/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.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/ExtendedProperties.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/ExtendedProperties.java?rev=1023461&r1=1023460&r2=1023461&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/ExtendedProperties.java (original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/ExtendedProperties.java Sun Oct 17 11:26:38 2010
@@ -149,7 +149,7 @@ import java.util.Vector;
  */
 public class ExtendedProperties extends Hashtable {
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = -4064305575636043822L;
 
     /**
      * Default configurations repository.

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=1023461&r1=1023460&r2=1023461&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 Sun Oct 17 11:26:38 2010
@@ -46,7 +46,7 @@ import org.apache.commons.collections.li
 public class CompositeCollection<E> implements Collection<E>, Serializable {
 
     /** Serialization version */
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 8417515734108306801L;
 
     /** CollectionMutator to handle changes to the collection */
     protected CollectionMutator<E> mutator;

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ComparatorPredicate.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ComparatorPredicate.java?rev=1023461&r1=1023460&r2=1023461&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ComparatorPredicate.java (original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/functors/ComparatorPredicate.java Sun Oct 17 11:26:38 2010
@@ -80,11 +80,11 @@ import org.apache.commons.collections.Pr
  */
 public class ComparatorPredicate<T> implements Predicate<T>, Serializable {
 
+    private static final long serialVersionUID = -1863209236504077399L;
+
     public enum Criterion {
         EQUAL, GREATER, LESS, GREATER_OR_EQUAL, LESS_OR_EQUAL, 
-    };
-
-    private static final long serialVersionUID = 1L;
+    }
 
 	// Instance variables:
 	

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=1023461&r1=1023460&r2=1023461&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 Sun Oct 17 11:26:38 2010
@@ -38,7 +38,7 @@ import org.apache.commons.collections.co
 public class CompositeSet<E> extends CompositeCollection<E> implements Set<E> {
 
     /** Serialization version */
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 5185069727540378940L;
 
     /**
      * Create an empty CompositeSet

Modified: commons/proper/collections/trunk/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java?rev=1023461&r1=1023460&r2=1023461&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java (original)
+++ commons/proper/collections/trunk/src/test/org/apache/commons/collections/keyvalue/TestMultiKey.java Sun Oct 17 11:26:38 2010
@@ -218,7 +218,7 @@ public class TestMultiKey extends TestCa
 
     static class SystemHashCodeSimulatingKey implements Serializable {
 
-        private static final long serialVersionUID = 1L;
+        private static final long serialVersionUID = -1736147315703444603L;
         private final String name;
         private int hashCode = 1;
 

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=1023461&r1=1023460&r2=1023461&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 Sun Oct 17 11:26:38 2010
@@ -26,7 +26,7 @@ import java.util.Collection;
  */
 class EmptyMapMutator implements CompositeMap.MapMutator {
     /** Serialization version */
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = -2729718980002476794L;
 
     public void resolveCollision(CompositeMap composite,
     Map existing,

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=1023461&r1=1023460&r2=1023461&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 Sun Oct 17 11:26:38 2010
@@ -30,7 +30,7 @@ import org.apache.commons.collections.co
 class EmptySetMutator<E> implements CompositeSet.SetMutator<E> {
 
     /** Serialization version */
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 5321193666420238910L;
 
     private Set<E> contained;