From 94cfcc6989af75eadab26041a484bf02ad374578 Mon Sep 17 00:00:00 2001 From: Rob Tompkins Date: Thu, 19 Oct 2017 15:27:29 -0400 Subject: [PATCH] COLLECTIONS-662: Thanks Vamsi --- src/changes/changes.xml | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 118df353a..3c17f9203 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -21,6 +21,9 @@ + + Unit tests MapUtilsTest and ListIteratorWrapperTest no longer fail in java 9 + Intermittent test failures in Windows for HashSetValuedHashMap @@ -49,16 +52,16 @@ Update platform from Java 6 to Java 7. - Web site spelling error: MultiValuedMapeList. + Web site spelling error: MultiValuedMapeList. Correction of javadoc for org.apache.commons.collections4.functors.CatchAndRethrowClosure. - Add null-safe MapUtils.size(Map<?, ?>) method. + Add null-safe MapUtils.size(Map<?, ?>) method. - PatriciaTrie prefixMap clear throws NullPointerException. + PatriciaTrie prefixMap clear throws NullPointerException. Add class SortedProperties to sort keys. @@ -174,7 +177,7 @@ "AbstractHashedMap" still inherits from "AbstractMap", contrary to what - the class javadoc stated. The inheritance will now be removed in v5.0. + the class javadoc stated. The inheritance will now be removed in v5.0. Changed scope of "CircularFifoQueue#isAtFullCapacity()" to public. @@ -275,7 +278,7 @@ features, this release includes numerous bug fixes. Resolved generic parameter inconsistency for various static fields, e.g. BagUtils.EMPTY_BAG, TruePredicate.INSTANCE and many others. All accessible static fields use raw types so that they can be used directly without explicit casting. To avoid compiler warnings about unchecked - conversion and/or rawtypes use the corresponding factory methods, e.g. BagUtils.emptyBag(). + conversion and/or rawtypes use the corresponding factory methods, e.g. BagUtils.emptyBag(). Renamed methods "V MultiKeyMap#remove(Object, Object, ...)" to @@ -289,7 +292,7 @@ features, this release includes numerous bug fixes. Refactored the test framework for Bag implementations to extend from "AbstractCollectionTest" by decorating the concrete Bag instance with - a CollectionBag or CollectionSortedBag. + a CollectionBag or CollectionSortedBag. "CollectionBag" will now also respect the contract of the decorated bag in case @@ -349,19 +352,19 @@ features, this release includes numerous bug fixes. Added bag decorator "CollectionBag" which decorates a bag to make it comply with the Collection contract. - + Replaced "Collection" with "Iterable" for method arguments where applicable. - + Added "PushbackIterator" decorator to support pushback of elements during iteration. - + Added "PeekingIterator" decorator to support one-element lookahead during iteration. Added additional clarification to javadoc of interface "Put" wrt return type of - "put(Object, Object)" method. + "put(Object, Object)" method. Changed "IteratorChain" to use internally a "Queue" instead of a "List". Iterators are @@ -390,7 +393,7 @@ features, this release includes numerous bug fixes. Several closure and transformer implementations in the functors package will now copy an array as input to their constructor (e.g. ChainedClosure). - + Change base package to org.apache.commons.collections4. @@ -488,7 +491,7 @@ features, this release includes numerous bug fixes. Improved performance of "SetUniqueList#removeAll". - Improved performance of "ListOrderedSet#remove(Object)" in case the object is + Improved performance of "ListOrderedSet#remove(Object)" in case the object is not contained in the Set.