Commit Graph

2261 Commits

Author SHA1 Message Date
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
Henri Yandell 758f57b704 Updating reports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637491 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:26:23 +00:00
Henri Yandell 01086ef5b3 Applying the latest patch from Henning's report in COLLECTIONS-278 that put() and putAll() don't update the getKeys() map on ExtendedProperties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637489 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 23:23:48 +00:00
Henri Yandell 142a6dd5ee Fixing the assemblies to say project.version instead of version to stop '2.4.1' leaking through from the JVM properties. Also making it project.artifactId while I'm doing this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@637007 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:41:17 +00:00
Niall Kegan Pemberton 220655c5fa Upgrade to version 9 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@635244 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:21:48 +00:00
Niall Kegan Pemberton aaddcc6947 Remove redundant <resource> configuration for NOTICE/LICENSE - these are configured in commons-parent (NOTE: seems that components which define other <resource> elements need to include these - so only removing from components where NOTICE/LICENSE are the only resources configured)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@632894 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 01:01:28 +00:00
Niall Kegan Pemberton 7741aa9ccf Add Issue Tracking and Download pages generated by commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@632817 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:46:00 +00:00
Niall Kegan Pemberton e59565488c Upgrade to commons-parent-8 and add configuration properties for OSGi (maven-bundle-plugin) and commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@632815 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:37:56 +00:00
Niall Kegan Pemberton 7e99128b78 upgrade to commons-parent-7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@612219 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 21:04:51 +00:00
Niall Kegan Pemberton 049dffdbc6 Upgrade to commons-parent version 6 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@609497 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 03:15:46 +00:00
Henri Yandell ad4e890878 Updating javadoc as per COLLECTIONS-262 - the firstKey and lastKey javadoc methods were back to front for parts of their description
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@608030 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 07:23:14 +00:00
Matthew Jason Benson c493bb9126 sp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@606721 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 18:11:04 +00:00