Commit Graph

1822 Commits

Author SHA1 Message Date
Matthew Jason Benson 243e27cf06 me
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@740369 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 18:29:41 +00:00
Matthew Jason Benson 7d8c4caada make test forking configurable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@737174 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 20:28:36 +00:00
Henri Yandell 3290bbc854 Applying my patch from COLLECTIONS-307. Fixes the bug raised by Christian Semrau that SetUniqueList.subList() was not redefining the uniqueness set when creating the sublist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@731498 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 09:09:55 +00:00
Henri Yandell 0122245f02 Applying Bjorn Townsend's unit test and my fix for COLLECTIONS-304 - fixing SetUniqueList so the set method doesn't let the uniqueness get out of sync
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711591 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 15:47:43 +00:00
Henri Yandell 0725e476d4 Applying Benjamin Bentmann's second patch from COLLECTIONS-294, fixing the locale issue in CaseInsensitiveMap by converting each character individually and not using toLowerCase
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 03:58:37 +00:00
Henri Yandell f3eaf2ceae Adding a test for COLLECTIONS-299 and a fix. Fixes by not adding any non-String values as per java.util.Properties; also adding to the javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@711140 13f79535-47bb-0310-9956-ffa450edef68
2008-11-04 00:15:36 +00:00
Henri Yandell 79ff10494b Applying Nathan Bubna's patch from COLLECTIONS-271 to fix the bug introduced in the last patch where getKeys() breaks after a combine() or subset() call.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@710200 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 22:41:09 +00:00
Henri Yandell 441ed780ad Setting the source/target settings to 1.3 as per COLLECTIONS-281
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@707529 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 03:36:19 +00:00
Henri Yandell 70b446cba6 Stating in the class javadoc that attempts to modify the object's state will result in an UnsupportedOperationException as requested in COLLECTIONS-303
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@687995 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 07:21:18 +00:00
Niall Kegan Pemberton 3948e9611a Remove binary suffix - latest release is "-bin", which is the default
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@678586 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 22:25:38 +00:00
Niall Kegan Pemberton b6ccf7415c change commons-parent to version 11
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@678495 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:43:58 +00:00
Henri Yandell d887c5913f Applying Joerg's final patch from COLLECTIONS-266, including the unit test that shows the problem and fixes the problem by making the hashcode transient, and moving the hashcode implementation such that it can be called from the deserialization as well as the hashcode method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@661577 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 06:23:45 +00:00
Niall Kegan Pemberton 7873bd62ee Lock down <reporting> version numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@659627 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 19:05:16 +00:00
Henri Yandell fc7d80e70b Modifying sizeIsEmpty such that null -> true and not an IllegalArgumentException as per Benjamin Bentmann's patch to COLLECTIONS-298
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657503 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 07:36:46 +00:00
Henri Yandell cf197bd0e0 Fixing javadoc as per Benjamin Bentmann's patch to COLLECTIONS-297
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657502 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 07:34:31 +00:00
Henri Yandell 015f5a8724 Applying Dave Meikle's patch to COLLECTIONS-194 - adding a populateMap method to MapUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@657293 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 05:29:40 +00:00
Henri Yandell e6d4f46544 Making MultiValueMap serializable as per COLLECTIONS-240
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@656960 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 08:09:42 +00:00
Emmanuel Bourg c1351569a7 Modified the javadoc in ExtendedProperties to redirect users to Commons Configuration for advanced needs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@656318 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 15:32:07 +00:00
Emmanuel Bourg 07d5abf4a0 Added the external link to the JDK in the javadoc generated by Maven 2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@656317 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 15:27:06 +00:00
Henri Yandell 68d2beaf42 Applying my patch, with the obj creation commented out, from COLLECTIONS-285. This makes TreeBidiMap serializable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655756 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 07:10:34 +00:00
Henri Yandell 6965d41836 Applying my patch from COLLECTIONS-221 - making the CompositeMap, CompositeSet and CompositeCollection serializable. The only difference from the patch is that the creation of the obj files in TestCompositeMap is commented out
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655751 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 06:53:35 +00:00
Henri Yandell 4ac9d2bf8c Changing 'CVS' to 'SVN' as that's what we use now
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655743 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 05:58:10 +00:00
Henri Yandell b02d2167ed Renaming 'values' to 'valuesView' to make it more obvious where it is used and why it can be transient. Rewriting values() to be readable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655741 13f79535-47bb-0310-9956-ffa450edef68
2008-05-13 05:35:44 +00:00
Henri Yandell d72bf81d8b Applying one of Benjamin's fixes from COLLETIONS-294. testBoolean goes on to look for English
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@655204 13f79535-47bb-0310-9956-ffa450edef68
2008-05-10 22:46:43 +00:00
Niall Kegan Pemberton ad76d4face Upgrade to commons-parent-10 pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@654484 13f79535-47bb-0310-9956-ffa450edef68
2008-05-08 11:43:09 +00:00
Niall Kegan Pemberton a612b48e54 Merge site changes from 3.2.1 branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@648092 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 01:56:59 +00:00
Niall Kegan Pemberton 047cf337b5 Bring the build instructions up-to-date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@647516 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 01:00:05 +00:00
Henri Yandell c34c46965f Fixing eol style as per sebb's email
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@647045 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 04:16:07 +00:00
Niall Kegan Pemberton 2619bfa66c Fix test reports directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@646847 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 15:36:18 +00:00
Niall Kegan Pemberton 4ee715790b Try to fix JDK 1.6 gump instance failure by increasing the delay - testBlockedRemoveWithAddAll2 failed with the message "Both objects were removed expected:<0> but was:<1>"
see http://gump.zones.apache.org/gump/test/apache-commons/commons-collections/gump_work/build_apache-commons_commons-collections.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@645800 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 09:01:52 +00:00
Henri Yandell 34bc1b54db Adding a state check as per COLLECTIONS-3. I got an NPE when running through tests without synchronization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@643755 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 06:06:47 +00:00
Henri Yandell 975baeba61 Applying my patch from COLLECTIONS-265. TreeBag no longer accepts non-Comparable classes when it naturally ordered (ie: no comparator has been set)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641166 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 06:08:52 +00:00
Henri Yandell 5a3a0041a0 Adding the predicate to the IllegalArgumentException as per COLLECTIONS-280
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641165 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 06:04:56 +00:00
Henri Yandell 700e4e9a68 Adding a note about collections-238 having potential compatibility problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641155 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 05:22:06 +00:00
Henri Yandell 0d948ddefd Applying a unit test and a fix for COLLECTIONS-238 - allowing ExtendedProperties to support empty property values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@641153 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 05:18:45 +00:00
Niall Kegan Pemberton cb41a3c01c Try to fix gump failure
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638998 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 20:27:16 +00:00
Niall Kegan Pemberton cb0983a3eb Update copyright year to 2008
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638797 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 11:45:16 +00:00
Niall Kegan Pemberton 6e202826cf Include missing files in distros built by ant & m1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638796 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 11:44:27 +00:00
Niall Kegan Pemberton 8af1be8dcc Add missing files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638781 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 10:36:08 +00:00
Henri Yandell cfe724a900 Applying Fredrik Kjellberg's patch that adds getIteratorIndex() as per COLLECTIONS-289
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638693 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 03:43:19 +00:00
Henri Yandell 3ff2649833 Stressing that existing objects are not transformed as per Paul's request in COLLECTIONS-288
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638227 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 06:11:16 +00:00
Sebastian Bazley a202e9ca19 Need to use an OrderedMap in order to guarantee ordering for this test ;-)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638079 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 21:52:21 +00:00
Niall Kegan Pemberton f7eadf09d7 COLLECTIONS-281 - Change maven build to create Collections Test Framework jar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638061 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 20:51:18 +00:00
Henri Yandell 1ef83170fe Adding a putAll method to ListOrderedMap as per COLLECTIONS-226 and Dave Meikle's patch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637512 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 02:37:19 +00:00
Henri Yandell eb9cff359c Nathan Egge requested a ListUtils.indexOf(List, Predicate) method in COLLECTIONS-235. Applying Dave Meikle's patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637505 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:52:59 +00:00
Henri Yandell 8a5d3acab8 Applying the patch from Alexander Borovsky for COLLECTIONS-271
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637503 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:39:13 +00:00
Henri Yandell 7cf943172b Applying a unit test for COLLECTIONS-220. AbstractTestObject is refactored to provide a utility method that serializes and then deserializes. Dave Meikle's fix for said unit test is also applied.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637495 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 00:26:44 +00:00
Henri Yandell b147d16e64 Removing tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637494 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:31:23 +00:00
Henri Yandell e6a4d6910f Adding the Lang checkstyle. I'm sure it'll need modifying to match Collections code style, but it's a start
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637493 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:28:53 +00:00
Henri Yandell 3a05a2c626 Removing unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637492 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:27:50 +00:00