diff --git a/RELEASE-NOTES.html b/RELEASE-NOTES.html index 2ef072c1c..3b870a1c8 100644 --- a/RELEASE-NOTES.html +++ b/RELEASE-NOTES.html @@ -44,6 +44,7 @@ No interface changes, or deprecations have occurred.
  • CollectionUtils - get(Object,int) method now supports primitive arrays
  • CollectionUtils - Add size(Object) method to find the size of various collection-like objects [27909]
  • SingletonIterator - make remove() functionality optional
  • +
  • AbstractLinkedList/NodeCachingLinkedList - added getValue() and setValue() to Node, and made everything use them
  • Made Serializable

    diff --git a/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java b/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java index 39c3e6198..93b3a054a 100644 --- a/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java +++ b/src/java/org/apache/commons/collections/list/NodeCachingLinkedList.java @@ -36,7 +36,7 @@ import java.util.Collection; * Note that this implementation is not synchronized. * * @since Commons Collections 3.0 - * @version $Revision: 1.6 $ $Date: 2004/02/18 01:12:26 $ + * @version $Revision: 1.7 $ $Date: 2004/04/20 23:46:50 $ * * @author Jeff Varszegi * @author Rich Dougherty @@ -172,7 +172,7 @@ public class NodeCachingLinkedList extends AbstractLinkedList implements Seriali Node nextCachedNode = firstCachedNode; node.previous = null; node.next = nextCachedNode; - node.value = null; + node.setValue(null); firstCachedNode = node; cacheSize++; } @@ -190,7 +190,7 @@ public class NodeCachingLinkedList extends AbstractLinkedList implements Seriali if (cachedNode == null) { return super.createNode(value); } else { - cachedNode.value = value; + cachedNode.setValue(value); return cachedNode; } }