RELEASE NOTES: COLLECTIONS 3.2
This release adds various new classes and fixes a number of bugs.
All feedback should be directed to commons-user at jakarta.apache.org.
COMPATABILITY
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.
There are no new deprecations.
NEW CLASSES
- LoopingListIterator - When the end of the list is reached the iteration continues from the start [30166]
ENHANCEMENTS
- CollectionUtils.addIgnoreNull - Adds to the collection if the value being added is not null [30020]
- MapUtils.putAll - Puts an array of key/value pairs into a map [30882]
- ExtendedProperties - No longer uses an exception in normal processing [30497]
- CollectionUtils/ListUtils - retainAll/removeAll that don't change original colllection
BUG FIXES
- FastArrayList - Fix iterators and views to work better in multithreaded environments
- BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full [31433]
- BoundedFifoBuffer - Fix iterator remove bug causing ArrayIndexOutOfBounds error [33071]
- MultiHashMap.remove(key, item) - Was returning the item even when nothing was removed [32366]
- SetUniqueList.set(int,Object) - Destroyed set status in certain circumstances [33294]
- AbstractLinkedMap.init() - Now calls createEntry() to create the map entry object [33706]
JAVADOC
- MapUtils.safeAddToMap - Better comment
- ListOrderedSet.decorate(List) - Better comment [32073]