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 Fri, 27 Feb 2004 00:24:05 GMT
scolebourne    2004/02/26 16:24:05

  Modified:    collections/src/java/org/apache/commons/collections/map
                        AbstractHashedMap.java
  Log:
  Fix implementation of cloning
  bug 27159, identified by Fabrizio Giustina
  
  Revision  Changes    Path
  1.12      +2 -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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- AbstractHashedMap.java	18 Feb 2004 01:13:19 -0000	1.11
  +++ AbstractHashedMap.java	27 Feb 2004 00:24:05 -0000	1.12
  @@ -1153,7 +1153,7 @@
               cloned.values = null;
               cloned.modCount = 0;
               cloned.size = 0;
  -            init();
  +            cloned.init();
               cloned.putAll(this);
               return cloned;
               
  
  
  

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