Commit Graph

103 Commits

Author SHA1 Message Date
Stephen Colebourne b915fdc02a TreeList/CursorableLinkedList/NodeCachingLinkedList/AbstractLinkedList - Fix iterator remove not working properly when called after previous
bug 35258

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219343 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 17:08:16 +00:00
Stephen Colebourne 2cdf3b0ba8 Fix CursorableLinkedList iterator remove/set not throwing IllegalStateException after next-previous-removeByIndex
bug 35766

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219330 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 14:19:42 +00:00
Stephen Colebourne 6adec6b8d4 Fix UnboundedFifoBuffer deserialization to work with subsequant object manipulation
bug 35763, from Thomas Knych and Jordan Krey

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219317 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 11:30:55 +00:00
Stephen Colebourne e1c5f7fb49 Fix UnboundedFifoBuffer iterator remove bug causing ArrayIndexOutOfBounds
bug 35733, from Andreas Schlosser

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219316 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 11:17:02 +00:00
Stephen Colebourne 2923c2de86 AbstractMapBag.BagIterator.remove breaks class invariants when removing last entry
bug 35747, from Steve Clark

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@219131 13f79535-47bb-0310-9956-ffa450edef68
2005-07-14 23:11:12 +00:00
Stephen Colebourne b3e0e25c37 Deprecate MultiHashMap in favour of MultiValueMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209683 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:13:22 +00:00
Stephen Colebourne eaf850538a Fix putAll(MultiMap)
bug 35631, reported by Sven Macke

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@209681 13f79535-47bb-0310-9956-ffa450edef68
2005-07-08 00:06:50 +00:00
Stephen Colebourne 0fdd5982c3 Add casts to avoid some JDK1.5 compilation warnings
bug 35474, from Will Pugh

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@201765 13f79535-47bb-0310-9956-ffa450edef68
2005-06-25 16:39:34 +00:00
Stephen Colebourne 4a6212148d Fix ExtendedProperties.convertProperties to pickup any default parent configuration
bug 32204, from Shinobu Kawai

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 23:04:44 +00:00
Stephen Colebourne 29d3d6ec87 Group bug fixes into collection types
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171361 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 19:24:47 +00:00
Stephen Colebourne 266f67e232 Simplify code in iterator remove to avoid incorrect ConcurrentModificationException
bug 34690, from Guilhem Lavaux at Kaffe

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171360 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 19:23:04 +00:00
Stephen Colebourne f9045aedf3 Fix AbstractHeashedMap initialization to calculate correct threshold
bug 35012, by Christian Siefkes

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171349 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 17:48:56 +00:00
Stephen Colebourne 2b68e826ec Bug 34267: IteratorChain.remove() in combination with FilterIterator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171347 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 17:27:34 +00:00
Stephen Colebourne e6faf4b4a6 Add MultiValueMap providing control over the map and collection implementations
29440

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171256 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 21:12:54 +00:00
Stephen Colebourne 45f7b88bc6 Add new methods to BlockingBuffer
bug 27691

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@171004 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 22:15:44 +00:00
Stephen Colebourne 1a806b1f2a Add GrowthList, an auto-grow on set/add list
bug 34171, including code from Paul Legato

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170244 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 18:30:49 +00:00
Stephen Colebourne 2e08f50b6f BlockingBuffer now includes InterupttedException stack trace in error
bug 33700, from Seth Ladd

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170211 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 09:36:15 +00:00
Stephen Colebourne f95865f481 Fix Flat3Map.equals to actually work
bug 34917, from Stanislaw Osinski

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@170210 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 09:22:50 +00:00
Stephen Colebourne e52c4c50e1 Calculate threshold before putting data in deserialization to avoid memory issue
bug 34265, reported by Marcos Cesar de Oliveira

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@169102 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 18:04:32 +00:00
Stephen Colebourne decc437cc7 Fix so putAll works with an empty map
bug 34686, reported by Marc Lottman

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@169098 13f79535-47bb-0310-9956-ffa450edef68
2005-05-07 17:15:39 +00:00
Stephen Colebourne e7860db9af Deprecate BeanMap, its now available in commons-beanutils-1.7
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158697 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 23:47:45 +00:00
Stephen Colebourne 74f2c73b6d Fix internal variable to not include non-existant write methods
bug 15895, from Dimiter Dimitrov

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158694 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 23:17:21 +00:00
Stephen Colebourne 4c282328c8 Add DefaultedMap that returns a default value if the key is not in the map
RFE 30911, by Rafael U. C. Afonso

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158692 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 22:53:50 +00:00
Stephen Colebourne d6b6fe90bc Use createEntry method from init to create the map entry
bug 33706, reported by William Barsse

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@158688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 22:14:15 +00:00
Stephen Colebourne 560c4ee8db Fix to SetUniqueList breaks when swapping entries
bug 33294, from Tom Dunham

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@149033 13f79535-47bb-0310-9956-ffa450edef68
2005-01-29 12:51:12 +00:00
Phil Steitz 33e4e28a60 Added missing end tag.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131838 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 23:07:22 +00:00
Phil Steitz 0b4f8f99f7 Fixed bug in iterator remove. Shift operation was not incrementing indexes
properly.  Also improved documentation.
BZ #33071
Reported by: Amir Tahvildaran


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131837 13f79535-47bb-0310-9956-ffa450edef68
2005-01-15 22:47:41 +00:00
Stephen Colebourne 7b420d7145 Fix MultiHashMap to return null when nothing removed
bug 32366, reported by Tad Marko


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131836 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 00:13:25 +00:00
Stephen Colebourne 92ec7a0d75 Clarify comment on ListOrderedSet
bug 32073


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131835 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 00:01:31 +00:00
Stephen Colebourne 2e59908928 Year 2005
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131834 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 23:53:48 +00:00
Stephen Colebourne 14906301a1 Add release note comments about retainAll/removeAll
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131831 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 11:10:24 +00:00
Stephen Colebourne c970798db6 BoundedFifoBuffer/CircularFifoBuffer - Fix serialization to work in case where buffer serialized when full
bug 31433, from Kalle Gustafsson


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131822 13f79535-47bb-0310-9956-ffa450edef68
2004-10-16 22:23:41 +00:00
Stephen Colebourne a162a7925e No longer uses an exception in normal processing
Bug 30497, reported by John Tal


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131819 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:35:03 +00:00
Stephen Colebourne a324ca7a63 Add method putAll to put an array of key/value pairs into a map
Bug 30882, suggested by Rafael U. C. Afonso


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131816 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 23:03:50 +00:00
Stephen Colebourne 3ae470ee28 CollectionUtils.addIgnoreNull new method
bug 30020, from Rafael U. C. Afonso


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131811 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:38:33 +00:00
Stephen Colebourne 487621cb99 Add LoopingListIterator
bug 30166, from Eric Crampton


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131808 13f79535-47bb-0310-9956-ffa450edef68
2004-07-17 21:02:47 +00:00
Stephen Colebourne 2c48c7ff06 Post v3.1 cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131805 13f79535-47bb-0310-9956-ffa450edef68
2004-06-28 23:26:33 +00:00
Stephen Colebourne 72ed906100 Update deprecation comment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131800 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 23:03:20 +00:00
Stephen Colebourne 4bf90d6356 Prepare for version 3.1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131799 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 22:24:29 +00:00
Stephen Colebourne 1d72d4a31b Document binary compatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131797 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 21:44:51 +00:00
Stephen Colebourne ce5177e51a Handle multiple keys better,
bug reported by Wolfgang Hoschek


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131795 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 21:26:52 +00:00
Stephen Colebourne b03a471292 Fix bug in DualBidiMaps caused by bad design of createMap method
bug 29519


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131788 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 23:27:37 +00:00
Henri Yandell 867a5619a9 typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131785 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 22:14:59 +00:00
Stephen Colebourne 196a8151b7 Upgrade version to 3.1-RC1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131783 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 21:13:46 +00:00
Stephen Colebourne 6e6f18d27e Update release notes to better express compatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131782 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 21:13:14 +00:00
Stephen Colebourne a16728cd30 Add new public constructor to ListOrderedMap
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131777 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:51:39 +00:00
Stephen Colebourne cb39538c27 Fix ListOrderedSet to add new factory and direct constructor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131776 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 21:42:12 +00:00
Stephen Colebourne f959880118 Reinstate FixedSizeSortedMap superclass to avoid binary incompatibility
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131772 13f79535-47bb-0310-9956-ffa450edef68
2004-06-03 22:59:56 +00:00
Stephen Colebourne e43b667815 Make decorator classes serializable, bug 18815
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131768 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 23:29:12 +00:00
Stephen Colebourne 424c8d6655 Add PredicateDecorator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131763 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:03:43 +00:00