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 MapBackedSet.java
Date Wed, 02 Jun 2004 22:00:47 GMT
scolebourne    2004/06/02 15:00:47

  Modified:    collections/src/java/org/apache/commons/collections/set
                        MapBackedSet.java
  Log:
  Make serializable
  
  Revision  Changes    Path
  1.2       +7 -3      jakarta-commons/collections/src/java/org/apache/commons/collections/set/MapBackedSet.java
  
  Index: MapBackedSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/MapBackedSet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MapBackedSet.java	20 Apr 2004 23:51:31 -0000	1.1
  +++ MapBackedSet.java	2 Jun 2004 22:00:47 -0000	1.2
  @@ -15,6 +15,7 @@
    */
   package org.apache.commons.collections.set;
   
  +import java.io.Serializable;
   import java.util.Collection;
   import java.util.Iterator;
   import java.util.Map;
  @@ -35,8 +36,11 @@
    * 
    * @author Stephen Colebourne
    */
  -public final class MapBackedSet implements Set {
  -    
  +public final class MapBackedSet implements Set, Serializable {
  +
  +    /** Serialization version */
  +    private static final long serialVersionUID = 6723912213766056587L;
  +
       /** The map being used as the backing store */
       protected final Map map;
       /** The dummyValue to use */
  
  
  

---------------------------------------------------------------------
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