Commit Graph

1937 Commits

Author SHA1 Message Date
Gary D. Gregory 9aea104d8a Where possible:
- Add final modifier to private fields
- Add final modifier to method parameters
- Add final modifier to local variables

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429905 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 17:15:14 +00:00
Gary D. Gregory 4f43347950 Remove unnecessary parentheses (except for some bit expressions.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429897 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 17:04:52 +00:00
Gary D. Gregory 784f4752fc Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429895 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:55:07 +00:00
Gary D. Gregory 49501d2f3c Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429893 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:52:21 +00:00
Gary D. Gregory 12d9e8743d Remove unnecessary casts.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429892 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:51:34 +00:00
Gary D. Gregory af2d6e62f3 Add missing '@Override' annotations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429891 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:49:40 +00:00
Gary D. Gregory 745dd6673f Convert to Java 5 enhanced loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1429890 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 16:48:10 +00:00
Olivier Lamy d6516f2c8a fix links with new tree
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1422602 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 15:37:05 +00:00
Thomas Neidhart 244fe70119 [COLLECTION-436] Added emptyIfNull methods to [Collection,Set,List,Map]Utils. Thanks to Arman Sharif for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1421567 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:52:42 +00:00
Thomas Neidhart 806c1d78d5 Rename test classes for map package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1409169 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 11:36:54 +00:00
Thomas Neidhart 23e3b0f0fc Javadoc formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1388152 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:29:30 +00:00
Thomas Neidhart e97754ebfb Added changes for COLL-415 and COLL-417.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1388147 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:09:55 +00:00
Thomas Neidhart 740344661c [COLLECTIONS-415/417] Added clarifying javadoc about runtime complexity.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1388146 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:07:01 +00:00
Brent Worden 60591597c5 corrected junit message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382392 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 02:56:10 +00:00
Thomas Neidhart f0974d3b28 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382173 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 21:12:58 +00:00
Thomas Neidhart 5409f76e35 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382171 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 21:02:38 +00:00
Thomas Neidhart 161ea25722 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382169 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 20:53:09 +00:00
Thomas Neidhart 0d9e0821e0 Fix checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382167 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 20:46:29 +00:00
Thomas Neidhart 02fadfb568 Fixed TODO wrt argument checks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1382165 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 20:37:11 +00:00
Thomas Neidhart ce4113cb92 Added clarification on runtime complexity for ListUtils.retainAll.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377523 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 21:31:02 +00:00
Thomas Neidhart b0649abda4 Removed Type decorator description from package infos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377514 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 20:40:32 +00:00
Thomas Neidhart 1f969bbc34 Changes due to renaming of iterators test classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377503 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:52:58 +00:00
Thomas Neidhart 7349963217 Renamed unit tests for iterators package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377502 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:52:16 +00:00
Thomas Neidhart 73d8eab106 Added svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377496 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:39:33 +00:00
Thomas Neidhart dbf6b5ced0 Cleanup of tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377494 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:37:14 +00:00
Brent Worden 66261f908f fix indentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377492 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:35:45 +00:00
Brent Worden b10fa43d3e COLLECTIONS-426 patch applied.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377491 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:29:47 +00:00
Thomas Neidhart 38bb9b4ac5 Removed unneeded inheritDoc tags, formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377489 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:23:25 +00:00
Thomas Neidhart 25ebc31559 Fixed indentation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377487 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:21:16 +00:00
Brent Worden 8338b9a252 COLLECTIONS-427 patch applied.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377485 13f79535-47bb-0310-9956-ffa450edef68
2012-08-26 19:01:51 +00:00
Brent Worden dec0641e2f COLLECTIONS-405 added select and selectRejected methods to ListUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377196 13f79535-47bb-0310-9956-ffa450edef68
2012-08-25 03:59:34 +00:00
Thomas Neidhart 677f9b4e26 Added missing javadoc, minor checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377069 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 19:44:40 +00:00
Thomas Neidhart 68768dbe42 Renamed unit tests, removed unused LocalTestNode class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377066 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 19:36:22 +00:00
Thomas Neidhart 6cbcb9ebc6 Improved IndexedCollection, refactored test to comply with standard test framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1377059 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 19:21:14 +00:00
Brent Worden e1f8cea8a6 COLLECTIONS-241 forgot serialized collection files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376831 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:37:06 +00:00
Brent Worden a20cd3e0df updated changes with COLLECTIONS-241
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376828 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:15:01 +00:00
Brent Worden 33fa40b72d COLLECTIONS-241 added PassiveExpiringMap and tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1376827 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 05:08:36 +00:00
Thomas Neidhart 2f87b3c187 Moved IndexedCollection to collection package. Only interfaces and utilities shall reside in the top-level package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374401 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 19:13:50 +00:00
Thomas Neidhart c39fd281b7 Renamed unit tests for functors package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374400 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 19:11:35 +00:00
Thomas Neidhart da525f24ad Renamed unit tests for buffer package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374383 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 18:19:59 +00:00
Thomas Neidhart dcb64284ef Renamed unit tests for set package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374067 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:25:00 +00:00
Thomas Neidhart 056d81fe40 Renamed unit tests for keyvalue package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374064 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:10:56 +00:00
Thomas Neidhart 578a598fa7 Renamed unit tests for bidimap and splitmap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374062 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:07:45 +00:00
Thomas Neidhart 340cf440b9 Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374050 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:55:42 +00:00
Thomas Neidhart b5715ec19d [COLLECTIONS-393] Added ListUtils.partition method, thanks to Chris Shayan for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1374049 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 20:50:27 +00:00
Thomas Neidhart a5c9272431 Improved javadoc of Trie interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371959 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 14:07:23 +00:00
Thomas Neidhart 3254e85306 Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371954 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:47:47 +00:00
Thomas Neidhart 6ba3818153 Removed unneeded inheritDoc tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371953 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:33:49 +00:00
Thomas Neidhart f7e1b02c9f Added missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371952 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:33:24 +00:00
Thomas Neidhart 5122c2adf2 Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371946 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:13:12 +00:00
Thomas Neidhart 56b7b77bab Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371941 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:05:24 +00:00
Thomas Neidhart 0d02fbe8be Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371940 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:03:40 +00:00
Thomas Neidhart 6d5d858b17 Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371939 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 13:02:05 +00:00
Thomas Neidhart bd169e674c Remove added inheritDoc tags again.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1371938 13f79535-47bb-0310-9956-ffa450edef68
2012-08-11 12:58:01 +00:00
Thomas Neidhart 452822535d Renamed list tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1370008 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:50:52 +00:00
Thomas Neidhart bdea1ff900 Renamed collection tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369988 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 20:34:42 +00:00
Thomas Neidhart c8b641ee6e Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369937 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:29:00 +00:00
Thomas Neidhart 614013ae31 Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369931 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:21:29 +00:00
Thomas Neidhart cf940ca403 Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369925 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 19:11:31 +00:00
Thomas Neidhart f70c2a72ee Type erasure fix changed to a cast.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369355 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:08:02 +00:00
Thomas Neidhart 230ae8f1f5 Add javadoc comment to prevent removal of a generics fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1369292 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 09:06:21 +00:00
Thomas Neidhart dba4df56e4 Re-added generics fix for java 1.6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1368802 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 06:26:11 +00:00
Thomas Neidhart 1f09f103a8 [COLLECTION-272] Added to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367752 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:25:49 +00:00
Thomas Neidhart ab32bf1d78 [COLLECTIONS-272] Added support for serialization to FixedOrderComparator and TransformingComparator, added missing equals/hashCode, renamed tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367748 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 20:23:29 +00:00
Thomas Neidhart 61fe60ef9d [COLLECTION-383] Added overriden CollectionUtils#forAllDo method which takes an Iterator as input, thanks to Adrian Cumiskey for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367706 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 19:02:53 +00:00
Thomas Neidhart cde8c81a4e [COLLECTIONS-231] Add to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1367700 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 18:22:28 +00:00
Thomas Neidhart a9b7c29bc7 Fixed generics testcase.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366807 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:37:03 +00:00
Thomas Neidhart 23405f00a3 Changed test classes for bag package to <Class>Test.java notation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366804 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 10:21:47 +00:00
Thomas Neidhart d3ebd16c42 Fix javadoc and formatting in bag package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366801 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:55:01 +00:00
Thomas Neidhart 922da12f3f Cleanup of iterators package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366797 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:29:15 +00:00
Thomas Neidhart e5f105dab9 Fixed ordering of attributes in change list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366795 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 09:17:28 +00:00
Thomas Neidhart 88b7b4b3a0 [COLLECTIONS-379] Fixed javadoc in CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366204 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 21:18:24 +00:00
Thomas Neidhart 4303c163b1 Add change for 3.2.2 also for 4.0 release, fix javadoc for COLLECTIONS-331.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366195 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:50:27 +00:00
Thomas Neidhart bc715edab3 Fix wrong issue reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366190 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:36:09 +00:00
Thomas Neidhart 459f14b33c [COLLECTIONS-239] to keep backwards compatibility, do not use DefaultEquator in case no equator is specific, but rather use the original equals method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366185 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:24:27 +00:00
Thomas Neidhart bb72bc51ce Add change for COLLECTIONS-323 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 20:08:11 +00:00
Thomas Neidhart fd5f2734a3 Added COLLECTIONS-404 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366176 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:56:19 +00:00
Thomas Neidhart 30bbfaf6d6 Javadoc fixes for predicates.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366175 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:53:10 +00:00
Thomas Neidhart b7327a42da [COLLECTIONS-239] Use of generic Equator in EqualPredicate.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366174 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:46:32 +00:00
Thomas Neidhart 09c256dbb3 Small javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366166 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:30:15 +00:00
Thomas Neidhart 14eff09f21 Cleanup of functors package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366162 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:23:39 +00:00
Thomas Neidhart af26dd95c2 Removed svn:executable properties on resource.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1366113 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:18 +00:00
Thomas Neidhart c5e2cb5c2e Added clarifying javadoc for ListUtils#removeAll wrt runtime performance.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365784 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 21:39:30 +00:00
Thomas Neidhart ab7f253ce5 [COLLECTION-425] Improved performance of ListOrderedMap#remove method, thanks to Adrian Nistor for report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365749 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 21:14:42 +00:00
Thomas Neidhart ff79ffc826 [COLLECTION-225] Added missing Unmodifiable marker interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365738 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 20:52:45 +00:00
Thomas Neidhart c57a9af3e7 [COLLECTION-225] Added first version patricia trie contribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1365732 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 20:42:48 +00:00
Thomas Neidhart db3e08d2b7 Cleanup of map package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361799 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:13:23 +00:00
Thomas Neidhart a24baccfc6 Fix missing eol in package-info.java files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361729 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:16:07 +00:00
Thomas Neidhart 867e3a47dd checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361728 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:13:45 +00:00
Thomas Neidhart 846c7e2733 checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361721 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 16:05:57 +00:00
Thomas Neidhart 6b73b4d72d Cleanup of main package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361710 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 15:00:21 +00:00
Thomas Neidhart 44bc5d5851 Added first versions of changes.xml and release-notes.vm
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361692 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:54:30 +00:00
Thomas Neidhart 65e6819a3d Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361690 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:48:04 +00:00
Thomas Neidhart eb1e54d991 Fix @since tag: remove redundant Commons Collections, change 5 to 4.0 where applicable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361689 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:45:57 +00:00
Thomas Neidhart 3c233e4caf Cleanup of put/get interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361688 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:37:50 +00:00
Thomas Neidhart b1cabc6718 change generics workaround.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361686 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 11:19:02 +00:00
Thomas Neidhart 5387e5ef4d Cleanup of set package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361684 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 10:48:36 +00:00
Thomas Neidhart bb8bb80328 [COLLECTIONS-404] moved to comparators.sequence package, cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361677 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 10:12:33 +00:00
Thomas Neidhart 203a81890d Fix compilation problem with jdk1.5 wrt generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361659 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 08:50:52 +00:00
Thomas Neidhart 5486a179db Cleanup of list package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361597 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 22:13:11 +00:00
Thomas Neidhart 20fdf174fe [COLLECTIONS-421] Cleanup of ListUtils, use wildcards for hashCodeForList, use generic example in javadoc, thanks to Benedikt Ritter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1361590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 21:36:25 +00:00
Thomas Neidhart 37ace6950e Cleanup of keyvalue package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356967 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:39:25 +00:00
Thomas Neidhart cb9dca74d3 Fix SplitMapUtils test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356962 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:28:55 +00:00
Thomas Neidhart adac975573 Move SplitMapUtils test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356961 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:27:56 +00:00
Thomas Neidhart 2f86207b2d Cleanup of SplitMapUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:25:12 +00:00
Joerg Schaible 2f4d235479 More var-args. Clean-up.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356957 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:25:08 +00:00
Thomas Neidhart 60a3e7c07a Cleanup of splitmap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356955 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:24:25 +00:00
Thomas Neidhart 335f3c4802 Cleanup of comparators package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356950 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 21:13:33 +00:00
Thomas Neidhart b24253a157 Cleanup of collection package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356933 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:49:03 +00:00
Thomas Neidhart a9b11e2cf2 Cleanup of buffer package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1356916 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:27:01 +00:00
Thomas Neidhart c94dfb59c0 Cleanup bidimap package: package-info.java, version, author tags, javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353747 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 21:18:57 +00:00
Thomas Neidhart f2086a2105 Cleanup bag package: package-info.java, version, author tags, javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353731 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 20:34:32 +00:00
Sebastian Bazley 2de4064e0e Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353221 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:34:56 +00:00
Sebastian Bazley 6e8a14adda Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353220 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:27:37 +00:00
Sebastian Bazley 9979f0c493 Casts away
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353219 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:27:22 +00:00
Sebastian Bazley 43a7d2aa27 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1353218 13f79535-47bb-0310-9956-ffa450edef68
2012-06-24 01:22:51 +00:00
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
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 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
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 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 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 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 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 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
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
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
Matthew Jason Benson 5a2fc90746 [COLLECTIONS-251] improving static factory methods for static importability, conistency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1148801 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 14:44:46 +00:00
Brent Worden 4499cf0862 COLLECTIONS-213. Added multiple use support to IteratorIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127604 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 18:04:29 +00:00
Brent Worden 936fd069c7 COLLECTIONS-313. Added abstract closure that is capable of handling thrown exceptions from closure execution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127199 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 18:28:13 +00:00
Brent Worden 000e2fed2d COLLECTIONS-306. Added @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127125 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:12:00 +00:00
Brent Worden 99be993a40 COLLECTIONS-306. Added predicated subtract method to CollectionUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1127123 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 16:11:07 +00:00
Brent Worden 0543f907c1 COLLECTIONS-213. Added IteratorIterable adaptor class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1126836 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 02:46:02 +00:00
Brent Worden 07947bd69e [COLLECTIONS-362] changed filter return value to boolean.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125466 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 16:56:34 +00:00
Brent Worden 501b94143a [COLLECTIONS-229] removed remaining deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1125367 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 13:04:44 +00:00
Gary D. Gregory d95b0a5105 Follow branding reqs from http://www.apache.org/foundation/marks/pmcs#graphics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079868 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 16:20:17 +00:00
Jochen Wiedmann cb19f2d73f PR: COLLECTIONS-323
Submitted-By: Maarten Brak <maarten.brak@quinity.com>
Allow to use an initial capacity of 0 on certain maps.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079602 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 23:37:01 +00:00
Jochen Wiedmann e4ba77b3b1 PR: COLLECTIONS-331
Documented the requirement to use a comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079587 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 22:31:49 +00:00
Jochen Wiedmann 1327078501 PR: COLLECTIONS-332
Documented the dependency of ListOrderedMap on the standard Map contract of using equals() and hashCode().


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1079552 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:27:41 +00:00
Jochen Wiedmann 76cca602d5 PR: COLLECTIONS-334
Synchronizing access to locks in StaticBucketMap.size()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076039 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:35:01 +00:00
Jochen Wiedmann 0145c16a6f PR: COLLECTIONS-360
Prevent an NPE in FilterListIterator.next() and FilterListIterator.previous()


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1076034 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 22:10:10 +00:00
Matthew Jason Benson 09ce7577d0 use svn:keywords and fix up @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:13:15 +00:00
Matthew Jason Benson c346a58b07 [COLLECTIONS-242] svn properties as requested
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:10:47 +00:00
Matthew Jason Benson 2aa374f85a add default Equator implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1073166 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:06:57 +00:00
Matthew Jason Benson d1016f05a5 tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070674 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:24:50 +00:00
Matthew Jason Benson 9a24ed01f7 address some testing TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070673 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:21:55 +00:00
Matthew Jason Benson e658fb9b50 remove bogus TODO comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1070672 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 21:19:07 +00:00
Matthew Jason Benson ed3d9ab90b [COLLECTIONS-330] javadoc: add warning about calling get() while iterating
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069624 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:57:59 +00:00
Matthew Jason Benson a6d51b8d2f [COLLECTIONS-330] remove unreasonable expectations from LRUMap synchronized iteration tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1069618 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 23:50:23 +00:00
Sebastian Bazley 7d1c0ab090 COLLECTIONS-363 TransformedMap is Serializable but its superclass doesn't define an accessible void constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1051248 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:24:29 +00:00
Sebastian Bazley b5e8745a41 A few raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 10:37:09 +00:00
Sebastian Bazley a99c022fbb Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026255 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 09:00:38 +00:00
Sebastian Bazley 1ae1850534 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026194 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:16 +00:00
Sebastian Bazley f46321a44d No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026193 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:29:03 +00:00
Sebastian Bazley 8fc1425e84 Let JUnit 4 check the Exception
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026191 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:18:19 +00:00
Sebastian Bazley 6f7691f90b No cast needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026189 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:17:43 +00:00
Sebastian Bazley 19fcdb2971 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026188 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 01:01:45 +00:00
Sebastian Bazley 898a12b6bf Raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1026186 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 00:40:36 +00:00
Sebastian Bazley 7a36e60c96 Oops - the Lists can also contain non-Strings. May have to revert a few other casts.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024488 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:52:22 +00:00
Sebastian Bazley c81f67f5a8 Generics; fix keys as Strings only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024482 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:36:02 +00:00
Sebastian Bazley b8e474dbf0 Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024473 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:04:54 +00:00
Sebastian Bazley f6ac90fca9 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024472 13f79535-47bb-0310-9956-ffa450edef68 2010-10-20 01:02:40 +00:00
Sebastian Bazley 2d69bd58ab Raw types and unchecked casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024471 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 01:02:09 +00:00
Sebastian Bazley a75a36299d Explicit unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024464 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 23:22:28 +00:00
Sebastian Bazley 32860a32cd Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024273 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 15:28:24 +00:00
Sebastian Bazley 6a849937f5 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024103 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:37:19 +00:00
Sebastian Bazley db079b02f6 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024102 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:28:51 +00:00
Sebastian Bazley 95e20438a0 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024100 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:16:15 +00:00
Sebastian Bazley 94645dca65 Ignore serialUID warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024099 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 03:14:50 +00:00
Sebastian Bazley a6e67175e0 Localise @SuppressWarning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024086 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:40:07 +00:00
Sebastian Bazley e6f8d11ba9 private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024085 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:39:13 +00:00
Sebastian Bazley 452e51e949 generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024084 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:38:58 +00:00
Sebastian Bazley b2152cf627 private immutable fields might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024083 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:37:38 +00:00
Sebastian Bazley ff8d2b1afd raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1024080 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 01:37:11 +00:00
Sebastian Bazley 73623d108c Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023965 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:35:24 +00:00
Sebastian Bazley bc16601016 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023964 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:31:58 +00:00
Sebastian Bazley bf15307ea1 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023961 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 19:22:14 +00:00
Sebastian Bazley d4c9c2c7bf COLLECTIONS-364 DualTreeBidiMap.readObject() uses wrong comparator to create reverseMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023949 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 18:54:29 +00:00
Sebastian Bazley 8f9fe40f7c Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023929 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 18:14:23 +00:00
Sebastian Bazley b29dd0968d Rename private variables to prevent hiding
Don't assign to null twice

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023917 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:36:03 +00:00
Sebastian Bazley fa805c3732 Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023910 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:11:40 +00:00
Sebastian Bazley 4675fcd99f Fix raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023903 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 17:00:44 +00:00
Sebastian Bazley a68c67c121 Tab and trailing space removal
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023897 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:45:29 +00:00
Sebastian Bazley 218ba8fd3b Fix boxing and some raw types warninga
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023887 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:25:37 +00:00
Sebastian Bazley def5d54ebe Unnecessary ;
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023881 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 16:14:15 +00:00
Sebastian Bazley 3a00afab89 Fix boxing and some raw types warninga
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023862 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:47:27 +00:00
Sebastian Bazley 5acf983bd8 Don't warn about boxing for test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023857 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:37:22 +00:00
Sebastian Bazley 759f45057a Tidy tests - split into smaller unit and use expected tag
enable test that was overlooked

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023855 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:36:04 +00:00
Sebastian Bazley 0c73a54d14 Fix test case warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023848 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:27:22 +00:00
Sebastian Bazley 8d4d6cc5d4 Make indexOf generic like the other methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023843 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:21:39 +00:00
Sebastian Bazley 2e2bca346b Avoid NPE warning by using assertNotNull
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023835 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:09:02 +00:00
Sebastian Bazley d0f6869a56 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023834 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:08:37 +00:00
Sebastian Bazley 0e024cabe1 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023833 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:08:14 +00:00
Sebastian Bazley 1fb865ca56 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023832 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:07:04 +00:00
Sebastian Bazley 28e8ba5476 serialVersionUID
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023782 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:06:44 +00:00
Sebastian Bazley f3941347f0 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023780 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:06:25 +00:00
Sebastian Bazley 9519790856 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023771 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:43:21 +00:00
Sebastian Bazley 1c949d0a71 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023770 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:42:41 +00:00
Sebastian Bazley 3057736c79 Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023769 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:42:04 +00:00
Sebastian Bazley 0a31bb5731 Unnecessary cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023768 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:41:35 +00:00
Sebastian Bazley 342ac1462c Use explicit boxing/unboxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023767 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 12:41:21 +00:00
Sebastian Bazley 17be7dfd95 Rename abstract Test* classes to AbstractTest*
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023746 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:45:44 +00:00
Sebastian Bazley 9dfb8286f3 Remove unnecessary main() and suite() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023744 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:36:20 +00:00
Sebastian Bazley 7de09a809c Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023743 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 11:30:22 +00:00
Sebastian Bazley 985feca469 Delete aggregate test classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023738 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 10:59:06 +00:00
Sebastian Bazley aa048da715 Use generated rather than dummy serialVersionUIDs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023461 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:26:38 +00:00
Sebastian Bazley 6cfa5daebc Add (disabled) test for Collections-363
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023454 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 11:02:15 +00:00
Brent Worden 9976cbe48d [COLLECTIONS-327] added serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023281 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 13:24:12 +00:00