Commit Graph

2238 Commits

Author SHA1 Message Date
Sebastian Bazley 352444404d Missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353217 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:22:31 +00:00
Sebastian Bazley 666c39a321 Update to latest Commons Parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353216 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:14:26 +00:00
Thomas Neidhart 1dee765d2d [COLLECTIONS-324] Made protected fields final to improve thread-safety. Thanks to sebb for the report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353172 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 18:29:44 +00:00
Thomas Neidhart 7c8c58f146 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353169 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 18:02:42 +00:00
Thomas Neidhart 5d40178770 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353167 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:50:02 +00:00
Thomas Neidhart c7e9e83f83 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353166 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:46:15 +00:00
Thomas Neidhart 3293227598 [COLLECTIONS-231] apply signature change to factory method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353165 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:39:28 +00:00
Thomas Neidhart 7f0c6e905a Remove again unneeded closing p tags to keep consistency.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353163 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 17:02:29 +00:00
Thomas Neidhart 5755bebf5d Remove again closing unneeded closing p tags to keep consistency.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353162 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 16:58:25 +00:00
Thomas Neidhart b6aac639d9 Fixed javadoc (closing paragraph elements).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353156 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 16:29:39 +00:00
Thomas Neidhart d3d5e3b6df Fix typos in developers guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353152 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:49:16 +00:00
Thomas Neidhart 8ebc1a038c Javadoc fixes, removed unneeded imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353150 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:40:11 +00:00
Thomas Neidhart c2d22264b0 [COLLECTIONS-231] return specific type rather than base type in factory methods, javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353148 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:35:49 +00:00
Thomas Neidhart b0d4ee9244 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353142 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:15:05 +00:00
Thomas Neidhart 44709d8b2a [COLLECTIONS-231] return specific type rather than base type in factory methods, javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353139 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:05:20 +00:00
Thomas Neidhart 902ee25dcf [COLLECTIONS-231] return specific type rather than base type in factory methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353132 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:33:48 +00:00
Thomas Neidhart 36509cf59b Fixed typo in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353131 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:23:46 +00:00
Thomas Neidhart 7c55e29e3d [COLLECTIONS-414] work-around for test-case when providing null argument to static method that infers return type based on input argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353130 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 14:21:51 +00:00
Thomas Neidhart 87d923f0d7 [COLLECTIONS-414] Fix type inference problems.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353123 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 12:46:05 +00:00
Thomas Neidhart 6db6aa496f [COLLECTIONS-413] Improve performance of DualBidiMap#removeAll. Thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353115 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 12:01:11 +00:00
Thomas Neidhart cae889f3c0 [COLLECTIONS-412] Improved performance of CollectionUtils#subtract. Thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353111 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 11:31:54 +00:00
Thomas Neidhart 13c8e44e6a Use a TreeMap in ListOrderedMap unit test for deterministic entry order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352264 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:54:36 +00:00
Thomas Neidhart 07d84c5eba Adapted unit test for generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352253 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:29:18 +00:00
Thomas Neidhart a753ba0a03 [COLLECTIONS-410] Improved performance of SetUniqueList.addAll(index, coll). Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352243 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 18:04:19 +00:00
Thomas Neidhart ff9488b31e [COLLECTIONS-441] Fixed IndexOutOfBoundsException when using ListOrderedMap.putAll. Thanks for Adrian Nistor for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352235 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:53:25 +00:00
Thomas Neidhart 37da8fcbc2 [COLLECTIONS-399] added more context information when throwing a NoSuchElementException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1352213 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 17:19:07 +00:00
Thomas Neidhart cb9f11c0c3 [COLLECTIONS-399] Added get(index) method to BoundedFifoBuffer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351852 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 21:05:48 +00:00
Thomas Neidhart bd2f3bcced [COLLECTIONS-409] Improve performance of ListOrderedSet#addAll, add missing javadoc. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351821 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 19:52:06 +00:00
Thomas Neidhart f3e93a52db [COLLECTIONS-408] improve performance of remove and removeAll methods, add missing javadoc. Thanks to Adrian Nistor for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351804 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 19:20:16 +00:00
Thomas Neidhart 19de811caf [COLLECTIONS-407] improve performance of remove method by taking method result from underlying collection into account. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1351800 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 18:59:46 +00:00
Thomas Neidhart c531834764 [COLLECTIONS-406] Improved ListUtils.subtract to O(n) performance. Thanks to Adrian Nistor for reporting and providing a patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1345644 13f79535-47bb-0310-9956-ffa450edef68
2012-06-03 10:22:04 +00:00
Luc Maisonobe eb88ae9669 Added an implementation of Eugene Myers difference algorithm.
JIRA: COLLECTIONS-404

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311964 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 20:09:44 +00:00
Luc Maisonobe 2fa3c8c5f0 fixed line-endings property svn:eol-style for a few existing files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311961 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:54:57 +00:00
Luc Maisonobe 6d8659cad5 reverting commit 1311904
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311954 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:38:24 +00:00
Luc Maisonobe 41d170f076 Added an implementation of Eugene Myers difference algorithm.
JIRA: COLLECTIONS-404

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311904 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 18:22:29 +00:00
Thomas Neidhart 970921c219 [COLLECTIONS-380] Fixed infinte recursion when creating an unmodifiable bounded collection, added unit test, fixed additional javadoc, thanks to Dave Brosius for reporting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311366 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 18:40:36 +00:00
Thomas Neidhart 0b83241a1a [COLLECTIONS-391] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311359 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 18:02:13 +00:00
Thomas Neidhart b9b6f31089 [COLLECTIONS-400] Added missing null check, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311344 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:27:15 +00:00
Thomas Neidhart 68673c6c52 [COLLECTIONS-389] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311337 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:20:21 +00:00
Thomas Neidhart f806874001 [COLLECTIONS-388] Fixed javadoc, thanks to Shin Hwei Tan.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1311334 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 17:13:55 +00:00
Henri Yandell e441f8ee08 Updating copyright dates in notice per expressive last entries in each components svn log
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1301865 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 05:09:23 +00:00
Sebastian Bazley 716a128f2a Suppress acceptable raw type warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300077 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:15:55 +00:00
Sebastian Bazley 0a67f04278 Javadoc - methods renamed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300075 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:11:32 +00:00
Sebastian Bazley 028f528194 Fix bug detected by Eclipse compiler
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300072 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 11:03:22 +00:00
Sebastian Bazley 0499117ad4 More plugin updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300038 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:50:05 +00:00
Sebastian Bazley 792a4303bc Update checkstyle and findbugs plugins; drop unnecessary configuration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300036 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:48:04 +00:00
Sebastian Bazley 3545b25d59 Findbugs: more efficient to use valueOf
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300033 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:41:08 +00:00
Sebastian Bazley 829da75d82 Findbugs: don't catch Exception; more efficient to use valueOf()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300030 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 09:38:06 +00:00
Sebastian Bazley bef3b732bd No longer need Ant to build test jar
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300007 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:50:10 +00:00
Sebastian Bazley dc610733dd Update to CP24
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300006 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:49:04 +00:00