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 AbstractHashedMap.java
Date Tue, 22 Jun 2004 21:42:12 GMT
scolebourne    2004/06/22 14:42:12

  Modified:    collections/src/java/org/apache/commons/collections/map
                        AbstractHashedMap.java
  Log:
  Add extends clause to ensure binary compatibility of ReferenceMap
  
  Revision  Changes    Path
  1.20      +7 -2      jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java
  
  Index: AbstractHashedMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/map/AbstractHashedMap.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- AbstractHashedMap.java	4 Jun 2004 23:27:30 -0000	1.19
  +++ AbstractHashedMap.java	22 Jun 2004 21:42:12 -0000	1.20
  @@ -19,6 +19,7 @@
   import java.io.ObjectInputStream;
   import java.io.ObjectOutputStream;
   import java.util.AbstractCollection;
  +import java.util.AbstractMap;
   import java.util.AbstractSet;
   import java.util.Collection;
   import java.util.ConcurrentModificationException;
  @@ -45,6 +46,10 @@
    * Overridable methods are provided to change the default hashing behaviour, and
    * to change how entries are added to and removed from the map. Hopefully, all you
    * need for unusual subclasses is here.
  + * <p>
  + * NOTE: From Commons Collections 3.1 this class extends AbstractMap.
  + * This is to provide backwards compatibility for ReferenceMap between v3.0 and v3.1.
  + * This extends clause will be removed in v4.0.
    * 
    * @since Commons Collections 3.0
    * @version $Revision$ $Date$
  @@ -52,7 +57,7 @@
    * @author java util HashMap
    * @author Stephen Colebourne
    */
  -public class AbstractHashedMap implements IterableMap {
  +public class AbstractHashedMap extends AbstractMap implements IterableMap {
       
       protected static final String NO_NEXT_ENTRY = "No next() entry in the iteration";
       protected static final String NO_PREVIOUS_ENTRY = "No previous() entry in the iteration";
  
  
  

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