Commit Graph

2120 Commits

Author SHA1 Message Date
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
Sebastian Bazley a5b3f83da2 Update plugin versions; allow checkstyle to be run interactively
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1300005 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 08:48:12 +00:00
Sebastian Bazley 392cb361be Fix up paths
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299376 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 15:18:38 +00:00
Sebastian Bazley be5f48ea4f Move test data under test/resources
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299241 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:49:28 +00:00
Sebastian Bazley a3003d79bc Some checkstyle names have changed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299234 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:02:12 +00:00
Sebastian Bazley 92e8f95b6a Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299233 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 17:01:13 +00:00
Sebastian Bazley d4747e7edc Work-round for PMD crash
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299228 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 16:13:31 +00:00
Sebastian Bazley 8b374ab6ff Standardise keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299215 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:56:05 +00:00
Sebastian Bazley 260d7d376b Drop Date keyword
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299212 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:51:40 +00:00
Sebastian Bazley 703c40396d Drop Date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299211 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:35:57 +00:00
Sebastian Bazley e97b1bbb02 Remove $Date$ SVN variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:34:45 +00:00
Sebastian Bazley 28d5e308a1 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1299209 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 14:28:37 +00:00
Sebastian Bazley 42899fe63f Update to CP23; can now remove quite a few local overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1298538 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:54:48 +00:00
Sebastian Bazley 8ffb78ec50 MOve to standard Maven layout
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1298531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:29:25 +00:00
Phil Steitz e57889f7fc Removed self from team list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1222720 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 16:17:33 +00:00
Gary D. Gregory d51a9262f2 [COLLECTIONS-384] Inconsistent Javadoc comment and code for synchronizedMap(Map) in org.apache.commons.collections.MapUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1195031 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 20:53:06 +00:00
Olivier Lamy f478980123 ignore *.iml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1183273 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 10:09:45 +00:00
David Brosius db21443715 fix invalid parameter check -- only problem could be that it is null, not, not instanceof Class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1177393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 18:37:26 +00:00
David Brosius 2ad95ff46e add ignoreantruntime flag to quell build warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1177384 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 18:13:06 +00:00