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/map AbstractMapDecorator.java
Date Fri, 02 Apr 2004 21:02:54 GMT
scolebourne    2004/04/02 13:02:54

  Modified:    collections/src/java/org/apache/commons/collections/map
                        AbstractMapDecorator.java
  Log:
  Enable subclasses to be serializable
  
  Revision  Changes    Path
  1.5       +10 -2     jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractMapDecorator.java
  
  Index: AbstractMapDecorator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractMapDecorator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractMapDecorator.java	18 Feb 2004 01:13:19 -0000	1.4
  +++ AbstractMapDecorator.java	2 Apr 2004 21:02:54 -0000	1.5
  @@ -41,7 +41,15 @@
   public abstract class AbstractMapDecorator implements Map {
   
       /** The map to decorate */
  -    protected final Map map;
  +    protected transient Map map;
  +
  +    /**
  +     * Constructor only used in deserialization, do not use otherwise.
  +     * @since Commons Collections 3.1
  +     */
  +    protected AbstractMapDecorator() {
  +        super();
  +    }
   
       /**
        * Constructor that wraps (not copies).
  
  
  

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