commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/set PredicatedSet.java TransformedSet.java SynchronizedSet.java PredicatedSortedSet.java ListOrderedSet.java SynchronizedSortedSet.java UnmodifiableSet.java TransformedSortedSet.java
Date Thu, 03 Jun 2004 22:02:14 GMT
scolebourne    2004/06/03 15:02:13

  Modified:    collections/src/java/org/apache/commons/collections/bag
                        TransformedBag.java TransformedSortedBag.java
                        PredicatedBag.java PredicatedSortedBag.java
                        SynchronizedBag.java SynchronizedSortedBag.java
               collections/src/java/org/apache/commons/collections/list
                        UnmodifiableList.java TransformedList.java
                        PredicatedList.java SynchronizedList.java
                        FixedSizeList.java SetUniqueList.java LazyList.java
               collections/src/java/org/apache/commons/collections/buffer
                        TransformedBuffer.java BlockingBuffer.java
                        PredicatedBuffer.java SynchronizedBuffer.java
                        CircularFifoBuffer.java
               collections/src/java/org/apache/commons/collections/collection
                        TransformedCollection.java
                        UnmodifiableCollection.java
                        PredicatedCollection.java
                        UnmodifiableBoundedCollection.java
                        SynchronizedCollection.java
               collections/src/java/org/apache/commons/collections/set
                        PredicatedSet.java TransformedSet.java
                        SynchronizedSet.java PredicatedSortedSet.java
                        ListOrderedSet.java SynchronizedSortedSet.java
                        UnmodifiableSet.java TransformedSortedSet.java
  Log:
  Make decorator classes serializable, bug 18815
  
  Revision  Changes    Path
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/TransformedBag.java
  
  Index: TransformedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/TransformedBag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransformedBag.java	2 Jun 2004 21:56:19 -0000	1.6
  +++ TransformedBag.java	3 Jun 2004 22:02:12 -0000	1.7
  @@ -40,6 +40,9 @@
   public class TransformedBag
           extends TransformedCollection implements Bag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 5421170911299074185L;
  +
       /**
        * Factory method to create a transforming bag.
        * <p>
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/TransformedSortedBag.java
  
  Index: TransformedSortedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/TransformedSortedBag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransformedSortedBag.java	2 Jun 2004 21:56:19 -0000	1.6
  +++ TransformedSortedBag.java	3 Jun 2004 22:02:12 -0000	1.7
  @@ -38,6 +38,9 @@
   public class TransformedSortedBag
           extends TransformedBag implements SortedBag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -251737742649401930L;
  +
       /**
        * Factory method to create a transforming sorted bag.
        * <p>
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/PredicatedBag.java
  
  Index: PredicatedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/PredicatedBag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PredicatedBag.java	2 Jun 2004 21:56:19 -0000	1.7
  +++ PredicatedBag.java	3 Jun 2004 22:02:12 -0000	1.8
  @@ -43,6 +43,9 @@
   public class PredicatedBag
           extends PredicatedCollection implements Bag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -2575833140344736876L;
  +
       /**
        * Factory method to create a predicated (validating) bag.
        * <p>
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/PredicatedSortedBag.java
  
  Index: PredicatedSortedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/PredicatedSortedBag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PredicatedSortedBag.java	2 Jun 2004 21:56:19 -0000	1.7
  +++ PredicatedSortedBag.java	3 Jun 2004 22:02:12 -0000	1.8
  @@ -42,6 +42,9 @@
   public class PredicatedSortedBag
           extends PredicatedBag implements SortedBag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 3448581314086406616L;
  +
       /**
        * Factory method to create a predicated (validating) bag.
        * <p>
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/SynchronizedBag.java
  
  Index: SynchronizedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/SynchronizedBag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SynchronizedBag.java	1 Jun 2004 23:05:48 -0000	1.7
  +++ SynchronizedBag.java	3 Jun 2004 22:02:12 -0000	1.8
  @@ -38,6 +38,9 @@
   public class SynchronizedBag
           extends SynchronizedCollection implements Bag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 8084674570753837109L;
  +
       /**
        * Factory method to create a synchronized bag.
        * 
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/bag/SynchronizedSortedBag.java
  
  Index: SynchronizedSortedBag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/bag/SynchronizedSortedBag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SynchronizedSortedBag.java	1 Jun 2004 23:05:48 -0000	1.7
  +++ SynchronizedSortedBag.java	3 Jun 2004 22:02:12 -0000	1.8
  @@ -37,6 +37,9 @@
   public class SynchronizedSortedBag
           extends SynchronizedBag implements SortedBag {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 722374056718497858L;
  +
       /**
        * Factory method to create a synchronized sorted bag.
        * 
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/UnmodifiableList.java
  
  Index: UnmodifiableList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/UnmodifiableList.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnmodifiableList.java	2 Jun 2004 21:59:49 -0000	1.6
  +++ UnmodifiableList.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -38,6 +38,9 @@
           extends AbstractSerializableListDecorator
           implements Unmodifiable {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 6595182819922443652L;
  +
       /**
        * Factory method to create an unmodifiable list.
        * 
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/TransformedList.java
  
  Index: TransformedList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/TransformedList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TransformedList.java	2 Jun 2004 21:59:49 -0000	1.4
  +++ TransformedList.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -40,6 +40,9 @@
    */
   public class TransformedList extends TransformedCollection implements List {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 1077193035000013141L;
  +
       /**
        * Factory method to create a transforming list.
        * <p>
  
  
  
  1.6       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/PredicatedList.java
  
  Index: PredicatedList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/PredicatedList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PredicatedList.java	2 Jun 2004 21:59:49 -0000	1.5
  +++ PredicatedList.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -45,6 +45,9 @@
    */
   public class PredicatedList extends PredicatedCollection implements List {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -5722039223898659102L;
  +
       /**
        * Factory method to create a predicated (validating) list.
        * <p>
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/SynchronizedList.java
  
  Index: SynchronizedList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/SynchronizedList.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SynchronizedList.java	1 Jun 2004 23:05:49 -0000	1.4
  +++ SynchronizedList.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -36,6 +36,9 @@
    */
   public class SynchronizedList extends SynchronizedCollection implements List {
   
  +    /** Serialization version */
  +     private static final long serialVersionUID = -1403835447328619437L;
  +
       /**
        * Factory method to create a synchronized list.
        * 
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/FixedSizeList.java
  
  Index: FixedSizeList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/FixedSizeList.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FixedSizeList.java	2 Jun 2004 21:59:49 -0000	1.7
  +++ FixedSizeList.java	3 Jun 2004 22:02:13 -0000	1.8
  @@ -42,6 +42,9 @@
           extends AbstractSerializableListDecorator
           implements BoundedCollection {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -2218010673611160319L;
  +
       /**
        * Factory method to create a fixed size list.
        * 
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/list/SetUniqueList.java
  
  Index: SetUniqueList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/SetUniqueList.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SetUniqueList.java	2 Jun 2004 21:59:49 -0000	1.7
  +++ SetUniqueList.java	3 Jun 2004 22:02:13 -0000	1.8
  @@ -50,6 +50,9 @@
    */
   public class SetUniqueList extends AbstractSerializableListDecorator {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 7196982186153478694L;
  +
       /**
        * Internal Set to maintain uniqueness.
        */
  
  
  
  1.6       +5 -2      jakarta-commons/collections/src/java/org/apache/commons/collections/list/LazyList.java
  
  Index: LazyList.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/list/LazyList.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LazyList.java	2 Jun 2004 21:59:49 -0000	1.5
  +++ LazyList.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -56,7 +56,10 @@
    * @author Paul Jack
    */
   public class LazyList extends AbstractSerializableListDecorator {
  -    
  +
  +    /** Serialization version */
  +    private static final long serialVersionUID = -1708388017160694542L;
  +
       /** The factory to use to lazily instantiate the objects */
       protected final Factory factory;
   
  
  
  
  1.6       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/TransformedBuffer.java
  
  Index: TransformedBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/TransformedBuffer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TransformedBuffer.java	2 Jun 2004 21:57:03 -0000	1.5
  +++ TransformedBuffer.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -36,6 +36,9 @@
    */
   public class TransformedBuffer extends TransformedCollection implements Buffer {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -7901091318986132033L;
  +
       /**
        * Factory method to create a transforming buffer.
        * <p>
  
  
  
  1.7       +5 -2      jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java
  
  Index: BlockingBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/BlockingBuffer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- BlockingBuffer.java	1 Jun 2004 23:05:49 -0000	1.6
  +++ BlockingBuffer.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -44,7 +44,10 @@
    * @author Phil Steitz
    */
   public class BlockingBuffer extends SynchronizedBuffer {
  -    
  +
  +    /** Serialization version */
  +    private static final long serialVersionUID = 1719328905017860541L;
  +
       /**
        * Factory method to create a blocking buffer.
        * 
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/PredicatedBuffer.java
  
  Index: PredicatedBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/PredicatedBuffer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PredicatedBuffer.java	2 Jun 2004 21:57:03 -0000	1.6
  +++ PredicatedBuffer.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -40,6 +40,9 @@
    */
   public class PredicatedBuffer extends PredicatedCollection implements Buffer {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 2307609000539943581L;
  +
       /**
        * Factory method to create a predicated (validating) buffer.
        * <p>
  
  
  
  1.6       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/SynchronizedBuffer.java
  
  Index: SynchronizedBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/SynchronizedBuffer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SynchronizedBuffer.java	1 Jun 2004 23:05:49 -0000	1.5
  +++ SynchronizedBuffer.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -33,6 +33,9 @@
    */
   public class SynchronizedBuffer extends SynchronizedCollection implements Buffer {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -6859936183953626253L;
  +
       /**
        * Factory method to create a synchronized buffer.
        * 
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/CircularFifoBuffer.java
  
  Index: CircularFifoBuffer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/buffer/CircularFifoBuffer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CircularFifoBuffer.java	2 Jun 2004 23:12:44 -0000	1.4
  +++ CircularFifoBuffer.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -47,6 +47,9 @@
    */
   public class CircularFifoBuffer extends BoundedFifoBuffer {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -8423413834657610406L;
  +
       /**
        * Constructor that creates a buffer with the default size of 32.
        */
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/collection/TransformedCollection.java
  
  Index: TransformedCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/collection/TransformedCollection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- TransformedCollection.java	2 Jun 2004 21:58:06 -0000	1.6
  +++ TransformedCollection.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -39,6 +39,9 @@
    */
   public class TransformedCollection extends AbstractSerializableCollectionDecorator {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 8692300188161871514L;
  +
       /** The transformer to use */
       protected final Transformer transformer;
   
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/collection/UnmodifiableCollection.java
  
  Index: UnmodifiableCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/collection/UnmodifiableCollection.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- UnmodifiableCollection.java	2 Jun 2004 21:58:06 -0000	1.7
  +++ UnmodifiableCollection.java	3 Jun 2004 22:02:13 -0000	1.8
  @@ -35,6 +35,9 @@
           extends AbstractSerializableCollectionDecorator
           implements Unmodifiable {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -239892006883819945L;
  +
       /**
        * Factory method to create an unmodifiable collection.
        * <p>
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/collection/PredicatedCollection.java
  
  Index: PredicatedCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/collection/PredicatedCollection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PredicatedCollection.java	2 Jun 2004 21:58:06 -0000	1.6
  +++ PredicatedCollection.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -41,6 +41,9 @@
    */
   public class PredicatedCollection extends AbstractSerializableCollectionDecorator {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -5259182142076705162L;
  +
       /** The predicate to use */
       protected final Predicate predicate;
   
  
  
  
  1.10      +5 -2      jakarta-commons/collections/src/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollection.java
  
  Index: UnmodifiableBoundedCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/collection/UnmodifiableBoundedCollection.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- UnmodifiableBoundedCollection.java	2 Jun 2004 21:58:06 -0000	1.9
  +++ UnmodifiableBoundedCollection.java	3 Jun 2004 22:02:13 -0000	1.10
  @@ -41,7 +41,10 @@
   public final class UnmodifiableBoundedCollection
           extends AbstractSerializableCollectionDecorator
           implements BoundedCollection {
  -    
  +
  +    /** Serialization version */
  +    private static final long serialVersionUID = -7112672385450340330L;
  +
       /**
        * Factory method to create an unmodifiable bounded collection.
        * 
  
  
  
  1.7       +2 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/collection/SynchronizedCollection.java
  
  Index: SynchronizedCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/collection/SynchronizedCollection.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SynchronizedCollection.java	1 Jun 2004 23:05:49 -0000	1.6
  +++ SynchronizedCollection.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -42,6 +42,7 @@
   
       /** Serialization version */
       private static final long serialVersionUID = 2412805092710877986L;
  +
       /** The collection to decorate */
       protected final Collection collection;
       /** The object to lock on, needed for List/SortedSet views */
  
  
  
  1.6       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/PredicatedSet.java
  
  Index: PredicatedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/PredicatedSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PredicatedSet.java	2 Jun 2004 22:02:34 -0000	1.5
  +++ PredicatedSet.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -41,6 +41,9 @@
    */
   public class PredicatedSet extends PredicatedCollection implements Set {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -684521469108685117L;
  +
       /**
        * Factory method to create a predicated (validating) set.
        * <p>
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/TransformedSet.java
  
  Index: TransformedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/TransformedSet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TransformedSet.java	2 Jun 2004 22:02:34 -0000	1.4
  +++ TransformedSet.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -37,6 +37,9 @@
    */
   public class TransformedSet extends TransformedCollection implements Set {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 306127383500410386L;
  +
       /**
        * Factory method to create a transforming set.
        * <p>
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/SynchronizedSet.java
  
  Index: SynchronizedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/SynchronizedSet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SynchronizedSet.java	1 Jun 2004 23:05:49 -0000	1.4
  +++ SynchronizedSet.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -34,6 +34,9 @@
    */
   public class SynchronizedSet extends SynchronizedCollection implements Set {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -8304417378626543635L;
  +
       /**
        * Factory method to create a synchronized set.
        * 
  
  
  
  1.6       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/PredicatedSortedSet.java
  
  Index: PredicatedSortedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/PredicatedSortedSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PredicatedSortedSet.java	2 Jun 2004 22:02:34 -0000	1.5
  +++ PredicatedSortedSet.java	3 Jun 2004 22:02:13 -0000	1.6
  @@ -41,6 +41,9 @@
    */
   public class PredicatedSortedSet extends PredicatedSet implements SortedSet {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -9110948148132275052L;
  +
       /**
        * Factory method to create a predicated (validating) sorted set.
        * <p>
  
  
  
  1.8       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/ListOrderedSet.java
  
  Index: ListOrderedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/ListOrderedSet.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ListOrderedSet.java	2 Jun 2004 22:02:34 -0000	1.7
  +++ ListOrderedSet.java	3 Jun 2004 22:02:13 -0000	1.8
  @@ -51,6 +51,9 @@
    */
   public class ListOrderedSet extends AbstractSerializableSetDecorator implements Set {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -228664372470420141L;
  +
       /** Internal list to hold the sequence of objects */
       protected final List setOrder;
   
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/SynchronizedSortedSet.java
  
  Index: SynchronizedSortedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/SynchronizedSortedSet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SynchronizedSortedSet.java	1 Jun 2004 23:05:49 -0000	1.4
  +++ SynchronizedSortedSet.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -35,6 +35,9 @@
    */
   public class SynchronizedSortedSet extends SynchronizedCollection implements SortedSet
{
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 2775582861954500111L;
  +
       /**
        * Factory method to create a synchronized set.
        * 
  
  
  
  1.7       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/UnmodifiableSet.java
  
  Index: UnmodifiableSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/UnmodifiableSet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- UnmodifiableSet.java	2 Jun 2004 22:02:34 -0000	1.6
  +++ UnmodifiableSet.java	3 Jun 2004 22:02:13 -0000	1.7
  @@ -36,6 +36,9 @@
           extends AbstractSerializableSetDecorator
           implements Unmodifiable {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = 6499119872185240161L;
  +
       /**
        * Factory method to create an unmodifiable set.
        * 
  
  
  
  1.5       +4 -1      jakarta-commons/collections/src/java/org/apache/commons/collections/set/TransformedSortedSet.java
  
  Index: TransformedSortedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/TransformedSortedSet.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TransformedSortedSet.java	2 Jun 2004 22:02:34 -0000	1.4
  +++ TransformedSortedSet.java	3 Jun 2004 22:02:13 -0000	1.5
  @@ -37,6 +37,9 @@
    */
   public class TransformedSortedSet extends TransformedSet implements SortedSet {
   
  +    /** Serialization version */
  +    private static final long serialVersionUID = -1675486811351124386L;
  +
       /**
        * Factory method to create a transforming sorted set.
        * <p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message