commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r158688 - in jakarta/commons/proper/collections/trunk: RELEASE-NOTES.html src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
Date Tue, 22 Mar 2005 22:14:16 GMT
Author: scolebourne
Date: Tue Mar 22 14:14:15 2005
New Revision: 158688

URL: http://svn.apache.org/viewcvs?view=rev&rev=158688
Log:
Use createEntry method from init to create the map entry
bug 33706, reported by William Barsse

Modified:
    jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
    jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java

Modified: jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html?view=diff&r1=158687&r2=158688
==============================================================================
--- jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html (original)
+++ jakarta/commons/proper/collections/trunk/RELEASE-NOTES.html Tue Mar 22 14:14:15 2005
@@ -30,6 +30,7 @@
 <p>
 This release is fully source and binary compatible with v3.1.
 (Checks performed using JDiff and Clirr, thanks).
+Please check the bug fixes to ensure you weren't relying on the behaviour of a bug.
 </p>
 <p>
 There are no new deprecations.
@@ -55,6 +56,7 @@
 <li>BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error
[33071]</li>
 <li>MultiHashMap.remove(key, item) - Was returning the item even when nothing was removed
[32366]</li>
 <li>SetUniqueList.set(int,Object) - Destroyed set status in certain circumstances [33294]</li>
+<li>AbstractLinkedMap.init() - Now calls createEntry() to create the map entry object
[33706]</li>
 </ul>
 
 <center><h3>JAVADOC</h3></center>

Modified: jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java?view=diff&r1=158687&r2=158688
==============================================================================
--- jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
(original)
+++ jakarta/commons/proper/collections/trunk/src/java/org/apache/commons/collections/map/AbstractLinkedMap.java
Tue Mar 22 14:14:15 2005
@@ -120,9 +120,13 @@
 
     /**
      * Initialise this subclass during construction.
+     * <p>
+     * NOTE: As from v3.2 this method calls
+     * {@link #createEntry(HashEntry, int, Object, Object)} to create
+     * the map entry object.
      */
     protected void init() {
-        header = new LinkEntry(null, -1, null, null);
+        header = (LinkEntry) createEntry(null, -1, null, null);
         header.before = header.after = header;
     }
 



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