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
+ * [EMAIL PROTECTED] #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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]