Commit Graph

1879 Commits

Author SHA1 Message Date
Brent Worden 24264d13ed [COLLECTIONS-8] added comparator based predicate.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023105 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:44:33 +00:00
Brent Worden 218be52809 [COLLECTIONS-327] added serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023078 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:29:44 +00:00
Niall Kegan Pemberton 6239f7ef14 COMMONSSITE-57 Fix announce mod_mbox link
(I used version 1.4-SNAPSHOT of the commons-build-plugin to do this - need to release it and update commons-parent at some point)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1005115 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 16:38:08 +00:00
Sebastian Bazley 767a23ffda revert change of StringBuilder => StringBuffer because only the latter has setLength()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1003360 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 02:27:12 +00:00
Sebastian Bazley 2d2aefe361 Fix up generics and other warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966368 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:07:52 +00:00
Sebastian Bazley fb3daab4fd Fix up generics and other warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966367 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 19:06:17 +00:00
Sebastian Bazley 3d86019dad easymock has relocated to org.easymock
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966334 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:01:14 +00:00
Sebastian Bazley 5cabc0f86f Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966327 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:39:49 +00:00
Sebastian Bazley 9601875f69 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966316 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:04:22 +00:00
Sebastian Bazley c9e19ce6cd Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@966315 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 17:03:58 +00:00
Henri Yandell da5a378c4f Applying Thomas Rogan's patch to COLLECTIONS-328, improving the performance to ListUtils.intersection in the manner described by Jilles van Gurp
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@965176 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 08:07:36 +00:00
Henri Yandell a11dc6aa1d Applying Mark Shead's patch to COLLECTIONS-359. The intersection method was not handling duplicates correctly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@965173 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 07:43:15 +00:00
Henri Yandell ca34318ae2 This is 4.0 being worked on now, not 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956326 13f79535-47bb-0310-9956-ffa450edef68
2010-06-20 08:24:06 +00:00
Henri Yandell bcdca8e6c9 Making the other two addAll methods return boolean on whether anything changes (somewhat related to COLLECTIONS-223)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956306 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 23:00:59 +00:00
Henri Yandell ae77247f97 Moving from StringBuffer API to StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956305 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 22:41:56 +00:00
Henri Yandell f208babdc0 Applying some of the refactorings from COLLECTIONS-312
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956291 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 20:30:20 +00:00
Henri Yandell 304203ecae Code cleanup per COLLECTIONS-312
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956280 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 19:55:17 +00:00
Henri Yandell 256c1e365d Simplifying exceptions now that cause is in the parent. Patch from Sebb in COLLECTIONS-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@956279 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 19:47:48 +00:00
Niall Kegan Pemberton 74cc4d8330 Generate custom Mailing List pages for components (using "mvn commons:mail-page")
See http://commons.apache.org/commons-build-plugin/mail-page.html

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@936225 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:29:42 +00:00
Niall Kegan Pemberton c37d1f6d97 Upgrade to commons-parent version 15
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@936207 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 09:02:56 +00:00
Niall Kegan Pemberton 7b17f4f958 Remove m1 files from source assembly descriptors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@933787 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 21:35:18 +00:00
Niall Kegan Pemberton 4113c4d3aa Move/rename "xdocs" directory to standard m2 "src/site/xdoc"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@932525 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 17:36:13 +00:00
Sebastian Bazley 05c946a643 Fix up jakarta download references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@929316 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 21:50:28 +00:00
Niall Kegan Pemberton 6204e92501 Remove m1 cvs-usage.xml & navigation.xml files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@928543 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 00:23:42 +00:00
Niall Kegan Pemberton 308918a83a Switch to m2 source-repository page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@928526 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28 23:43:37 +00:00
Niall Kegan Pemberton f81900ae08 Upgrade to commons-parent-14 (and maven-javadoc-plugin 2.5 when specified)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@923495 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 23:10:18 +00:00
Niall Kegan Pemberton 7ef3032736 Update components to point to the new download pages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@923339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:04:53 +00:00
Niall Kegan Pemberton b115a00e62 Correct collections release version and re-generate the download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@920507 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 21:01:11 +00:00
Niall Kegan Pemberton 84ce725355 Re-generate the download pages using the new commons-build-plugin .12 (via commons-parent version 13)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@920156 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:11:50 +00:00
Niall Kegan Pemberton 38ceabaac8 Upgrade to version 13 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@920154 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:05:47 +00:00
Henri Yandell dbfa4f25c2 Adding missing license headers per RAT report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@899713 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:57:24 +00:00
Henri Yandell 96925c7a40 Adding PMD report and missing license header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@899712 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:57:17 +00:00
Henri Yandell 4e6e6a8e07 Removing the System.out from MapUtils.getNumber as reported by Michaell Akerman. COLLECTIONS-350
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@899702 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 16:48:28 +00:00
Matthew Jason Benson eebcb74fb5 [COLLECTIONS-343] applied patch to preserve singleton integrity with readResolve
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@894507 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 23:12:18 +00:00
Matthew Jason Benson 4016c8eec9 [COLLECTIONS-255] re-address unused cache variable in TreeBidiMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@894500 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 22:35:45 +00:00
Niall Kegan Pemberton aa0e7d0a92 Update to commons-parent-12
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@827830 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:00:29 +00:00
Matthew Jason Benson 73579cc5ef [COLLECTIONS-341]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@825151 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 14:23:13 +00:00
Matthew Jason Benson 2e29ad2a8f [COLLECTIONS-340]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@825148 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 14:16:50 +00:00
Matthew Jason Benson ac4f8bf346 refactor; avoid more generic array classcastexceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@825147 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 14:16:22 +00:00
Matthew Jason Benson d1eecac1f6 avoid some generic array classcastexceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@825140 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 14:04:46 +00:00
Sebastian Bazley 2c5a64eec4 Avoid ambiguous reference to assertEquals(double, double)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815733 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:14:07 +00:00
Sebastian Bazley 4d02b54690 Avoid ambiguous reference to assertEquals(double, double)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815700 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:04:49 +00:00
Sebastian Bazley 2273dfc136 Javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815446 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:52:25 +00:00
Sebastian Bazley 6a2b7c9831 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815441 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:41:01 +00:00
Sebastian Bazley d0a75294b4 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815440 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:40:36 +00:00
Sebastian Bazley f260eb5dc4 Add missing @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815431 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 18:11:17 +00:00
Henri Yandell 40a3bb8221 Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions:

    ------------------------------------------------------------------------
    r643795 | skestle | 2008-04-02 01:49:57 -0700 (Wed, 02 Apr 2008) | 5 lines
    
    Generified EqualPredicate and created individual test class moved from TestPredicateUtils
    
    Added assertFalse() and assertTrue to BasicPredicateTestBase with (Predicate, Object) parameters
    
    Issues: COLLECTIONS-243, COLLECTIONS-253, COLLECTIONS-293
    ------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815154 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 05:58:15 +00:00
Henri Yandell 4086f8bdd0 Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions:

    ------------------------------------------------------------------------
    r643795 | skestle | 2008-04-02 01:49:57 -0700 (Wed, 02 Apr 2008) | 5 lines
    
    Generified EqualPredicate and created individual test class moved from TestPredicateUtils
    
    Added assertFalse() and assertTrue to BasicPredicateTestBase with (Predicate, Object) parameters
    
    Issues: COLLECTIONS-243, COLLECTIONS-253, COLLECTIONS-293
    ------------------------------------------------------------------------
    r643782 | skestle | 2008-04-02 01:00:00 -0700 (Wed, 02 Apr 2008) | 5 lines
    
    Generified NullPredicate and created individual test class moved on TestPredicateUtils
    
    Renamed PredicateTestBase to MockPredicateTestBase to reduce confusion and added BasicPredicateTestBase.
    
    Issues: COLLECTIONS-243, COLLECTIONS-253, COLLECTIONS-293
    ------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815153 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 05:58:13 +00:00
Henri Yandell 646488dc7e Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions:

    ------------------------------------------------------------------------
    r751887 | mbenson | 2009-03-09 15:40:01 -0700 (Mon, 09 Mar 2009) | 1 line
    
    add methods to wrap Maps and SortedMaps not based on Commons Collections classes to their Iterable*Map counterparts
    ------------------------------------------------------------------------
    r471166 | scolebourne | 2006-11-04 03:33:22 -0800 (Sat, 04 Nov 2006) | 1 line
    
    Removed Typed* containers such as TypedList and TypedMap as generics now provides type safety
    ------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815152 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 05:58:11 +00:00
Henri Yandell 8bff639749 Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified; mostly in r738956.
Also see the following revisions:

    ------------------------------------------------------------------------
    r555925 | skestle | 2007-07-13 03:39:24 -0700 (Fri, 13 Jul 2007) | 2 lines
    
    Added Edwin Tellman's patch for COLLECTIONS-243.  
    It all seems pretty reasonable, and it should all be checked again as the project is worked through
    ------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@815151 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 05:58:09 +00:00