Commit Graph

2076 Commits

Author SHA1 Message Date
Sebastian Bazley 0ba5e75432 Ensure switch statements have defaults; ensure IllegalStateException messages include the index value
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477774 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:48:14 +00:00
Thomas Neidhart b979fd11e1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477772 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:44:21 +00:00
Thomas Neidhart eef240cfdf Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477765 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:37:37 +00:00
Thomas Neidhart 6ee118d2a1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477763 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:35:29 +00:00
Thomas Neidhart 274aa78fcd Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477760 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:34:03 +00:00
Thomas Neidhart d6b40fdbe9 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477756 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:31:13 +00:00
Thomas Neidhart 315b0c786f Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477753 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:24:24 +00:00
Thomas Neidhart 7d9196da0e Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477752 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:21:52 +00:00
Thomas Neidhart 53cf9ed7f6 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477747 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:16:48 +00:00
Thomas Neidhart 3b9d20636a Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477746 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:11:20 +00:00
Thomas Neidhart 75e7e31108 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477745 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 18:08:32 +00:00
Sebastian Bazley 9a2f53d2d5 Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477741 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:58:35 +00:00
Sebastian Bazley 361b737752 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477740 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:53:55 +00:00
Sebastian Bazley 1e6dceb8cc Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477739 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:51:06 +00:00
Sebastian Bazley bb3d861fcd Explicit boxing shows that NPE may occur so document it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477738 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:50:45 +00:00
Sebastian Bazley f7f4b909d0 Unnecessary code - the null check is already done below
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477737 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 17:49:12 +00:00
Sebastian Bazley 5df60bb0e6 Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477661 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:27:35 +00:00
Sebastian Bazley 30f5f14baa Add comment markers for remaining classes where fields could perhaps be privatised
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477647 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:15:54 +00:00
Sebastian Bazley c4de3dd2bb Some Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477645 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:14:40 +00:00
Sebastian Bazley 83119a80aa Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477629 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:44:39 +00:00
Sebastian Bazley d3aa5b7742 Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477627 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:37:36 +00:00
Sebastian Bazley d5b16405c7 Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477626 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:36:11 +00:00
Sebastian Bazley 8fe95aaec2 Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477625 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:35:22 +00:00
Sebastian Bazley b236d5259f Field can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477624 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:31:19 +00:00
Sebastian Bazley 1f5e68b561 Don't rely on direct access to internal fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477622 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:30:36 +00:00
Sebastian Bazley 7f0046cf4e Field can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477620 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:26:12 +00:00
Sebastian Bazley cde8451d63 Field can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477619 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:25:01 +00:00
Sebastian Bazley 8041ccfe10 Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477618 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:20:53 +00:00
Sebastian Bazley c7f3ce1ab6 Fields can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477614 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:11:28 +00:00
Sebastian Bazley b222008978 Field can be private
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477613 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:10:44 +00:00
Sebastian Bazley 35e45cc127 Privatise fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477612 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 13:09:57 +00:00
Sebastian Bazley 5ce18d6487 Privatise key & value; add protected setters (fields were protected)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477599 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 12:44:12 +00:00
Sebastian Bazley 63252b4946 Use getter rather than direct access to key
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477597 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 12:43:06 +00:00
Sebastian Bazley 16d5b09656 Reduce visibility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477522 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 09:46:50 +00:00
Sebastian Bazley 2bed7ce3f7 Privatise fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477521 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 09:46:12 +00:00
Thomas Neidhart 80e9621339 Do not use String.isEmpty in test class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477518 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 09:26:31 +00:00
Thomas Neidhart c41e831722 [COLLECTIONS-456] Added additional overrides for providing an Equator, as well as for CharSequences.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477515 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 09:05:43 +00:00
Sebastian Bazley 40ad5dc2db COLLECTIONS-458 AbstractUntypedCollectionDecorator<E, D> is not used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477514 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 09:03:12 +00:00
Thomas Neidhart 44dc835e0a [COLLECTIONS-404] Added the option to provide an Equator to test for equality, by default a DefaultEquator is used that delegates to Object.equals().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477512 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 08:57:06 +00:00
Sebastian Bazley 4fa2b6e3ac Field might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477401 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 22:59:34 +00:00
Sebastian Bazley fcf4320023 Make fields private (and final) if possible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477400 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 22:58:50 +00:00
Thomas Neidhart 06cec18d4a Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477314 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 20:11:28 +00:00
Thomas Neidhart 969ffdbb98 [COLLECTIONS-456] Added ListUtils.longestCommonSubsequence(List, List).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477312 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 20:08:46 +00:00
Thomas Neidhart 72f33c83d4 [COLLECTIONS-404] Move comparators.sequence package to top-level.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477287 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 19:26:06 +00:00
Thomas Neidhart 6594da9e36 Make field private and provide a getter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1477274 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 19:12:29 +00:00
Sebastian Bazley e55db317f2 Ensure oddness check works even for negative numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476868 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:57:35 +00:00
Sebastian Bazley 4a64a89920 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476867 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:56:45 +00:00
Sebastian Bazley 25d443fb05 Simplify and avoid complaints about "dead store to actual"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476864 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:43:54 +00:00
Sebastian Bazley c1be92fbfb Oops - fix up 3 instances where distint Integer instances are required
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476860 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:33:58 +00:00
Sebastian Bazley f86c69659a Don't use inefficient new Integer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476855 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:15:54 +00:00
Sebastian Bazley 05afd18933 Simplify and avoid complaints about "dead store to actual"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476853 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 23:09:52 +00:00
Sebastian Bazley 90634a969a Simplify and avoid complaints about "dead store to actual"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476852 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 22:59:14 +00:00
Sebastian Bazley f2b49b393c Findbugs points out that an int can never be > Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476851 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 22:51:53 +00:00
Sebastian Bazley feb7b2fe0c No need to exactly invert whatever value is returned, especially as the Javadoc says we only return -1, 0 or +1.
This fixes Findbugs complaint about checking compareTo with a specific value, as well as avoiding a multiplication.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476850 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 22:48:08 +00:00
Thomas Neidhart e7ae9283ba [COLLECTIONS-404] Make Snake an inner class of SequencesComparator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476814 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 18:58:56 +00:00
Thomas Neidhart 9ea429c977 [COLLECTIONS-454] Fix findbugs warnings by returning independent Map.Entry objects from an entrySet() iterator in Flat3Map.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476813 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 18:52:50 +00:00
Sebastian Bazley ce86f3f8aa Explicit boxing
This documents that the boxing is actually intended, rather than an error due to the accidental use of the wrong type.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476781 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:20:56 +00:00
Sebastian Bazley 842e39bef6 Fix Javadoc syntax
Javadoc does not seem to allow generic types, so use html entities to simulate the result
Neat hack from http://stackoverflow.com/questions/9482309/javadoc-bug-link-cant-handle-generics#comment-22244407

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476780 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:18:27 +00:00
Sebastian Bazley 22ed893d2a Javadoc syntax
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476777 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:10:37 +00:00
Sebastian Bazley 2803f385e6 Javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476775 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:08:15 +00:00
Sebastian Bazley 2a5a1d0d77 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476773 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:03:48 +00:00
Sebastian Bazley 153f33ea77 Javadoc syntax error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476772 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 14:03:13 +00:00
Thomas Neidhart c71a9e8c2b [COLLECTIONS-296] Renamed CollectionUtils.merge to collate, simplify implementation by using a CollatingIterator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476770 13f79535-47bb-0310-9956-ffa450edef68
2013-04-28 13:58:37 +00:00
Thomas Neidhart 696c768716 Added more issues which were marked with fix version 4.0-beta1, applied one pending fix for using Arrays.toString.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476681 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 21:48:13 +00:00
Thomas Neidhart 1377fa84d7 Fix javadoc links and code examples.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476599 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 15:12:42 +00:00
Thomas Neidhart 047b8fb527 ignore false-positive from pmd
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476593 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 14:44:48 +00:00
Thomas Neidhart bca5b3c0ff Fix PMD warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476589 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 14:35:38 +00:00
Thomas Neidhart cca574ea06 Replace references to getInstance with the corresponding factory method name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476582 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 14:13:54 +00:00
Thomas Neidhart fad4f969df Make DefaultEquator a singleton, hide default ctor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476578 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 14:02:30 +00:00
Thomas Neidhart d574dffb1f Make DefaultEquator serializable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476558 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 12:08:19 +00:00
Thomas Neidhart 803a9c6c17 [COLLECTIONS-310] SetUniqueList#subList now returns an unmodifiable list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476557 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 11:57:01 +00:00
Thomas Neidhart 4b9c68b55a Reordered tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476555 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 11:23:06 +00:00
Thomas Neidhart c9e1e5c8f5 [COLLECTIONS-237] Added MultiValueMap.iterator() and clarified javadoc for entrySet().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476553 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 11:08:26 +00:00
Thomas Neidhart 50bd9f108b Added missing since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476507 13f79535-47bb-0310-9956-ffa450edef68
2013-04-27 07:16:48 +00:00
Thomas Neidhart 8641a2e3d5 Added TODO for AbstractQueueTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475976 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 21:39:12 +00:00
Thomas Neidhart 8157a72408 Added an AbstractQueueTest as base class for all queue tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475974 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 21:37:18 +00:00
Thomas Neidhart 0f32e037b9 classes have been renamed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475957 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 21:03:52 +00:00
Thomas Neidhart 7d2532b86b Enable serialization tests for bags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475955 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 20:56:05 +00:00
Thomas Neidhart 0c05822544 Reorder tests, remove TODO as it should be fine imho.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475953 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 20:48:08 +00:00
Thomas Neidhart 766d9add03 [COLLECTIONS-263] Added MapUtils#populateMap(MultiMap, ...) methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475949 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 20:38:58 +00:00
Thomas Neidhart b591dacd5c Fix some generics warnings in test classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475940 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 20:09:15 +00:00
Thomas Neidhart cb3b31ed23 [COLLECTIONS-450] Added CollectionUtils.forAllButLastDo(...) methods. Thanks to J. Moldawski
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1475937 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 20:02:15 +00:00
Thomas Neidhart f7c4d60cda Finished adding all changes, cant believe it ...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1471125 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 20:02:43 +00:00
Thomas Neidhart 5663fe652a Format change entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470721 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:17:31 +00:00
Thomas Neidhart 100be78228 Added missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470720 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:10:55 +00:00
Thomas Neidhart 59d2633770 findbugs: add constructor that sets the member field, but may remove class as it is unused.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470719 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 21:06:45 +00:00
Thomas Neidhart ea15ac123a More changelog entries.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470713 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 20:54:41 +00:00
Thomas Neidhart 19c429783a More change entries, sorting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470702 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 20:24:42 +00:00
Thomas Neidhart 0751f75c4c Added more changelog entries from JIRA.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470688 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 19:57:58 +00:00
Sebastian Bazley 6d1945c8ed Simplify
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470346 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 21:03:39 +00:00
Sebastian Bazley b555f1d127 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470345 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 21:01:35 +00:00
Sebastian Bazley 724fa9400f Fix raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470344 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:59:57 +00:00
Sebastian Bazley a183825420 Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470343 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:43:00 +00:00
Sebastian Bazley eaa218844a Unnecessary suppresswarnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470342 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:42:30 +00:00
Sebastian Bazley 461141c88b The classes have serial ids; no need to suppress the warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470341 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:41:15 +00:00
Sebastian Bazley 212ac51aee Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470340 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:40:32 +00:00
Sebastian Bazley 1df5607ba7 The classes have serial ids; no need to suppress the warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470339 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 20:28:58 +00:00
Thomas Neidhart afae3dd81d Update javadoc with renamed tests, minor formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470324 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 17:55:14 +00:00
Thomas Neidhart 3058d1865c Comment tests which create the serialization files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470323 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 17:51:33 +00:00
Thomas Neidhart 5e01d361f0 [COLLECTIONS-445] Ignore several failing tests when executing with IBM J9 VM 1.6.x due to a faulty TreeMap implementation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470322 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 17:47:50 +00:00
Thomas Neidhart a48cafa52e Suppress deprecation warnings for ArrayStack usage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470311 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 15:21:45 +00:00
Thomas Neidhart 0574dfb035 [COLLECTIONS-422] Added CollectionUtils.permutations(Collection) and PermutationIterator. Thanks for Benoit Corne for the patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470310 13f79535-47bb-0310-9956-ffa450edef68
2013-04-21 15:16:58 +00:00
Thomas Neidhart 6e8052608a [COLLECTIONS-419] Added clarifying javadoc for AbstractDualBidiMap#retainAll.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470170 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 15:05:56 +00:00
Thomas Neidhart 9bdfac0fad [COLLECTIONS-433] Improve performance of TreeList#addAll and TreeList(Collection). Thanks to Jeffrey Barnes for the patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470159 13f79535-47bb-0310-9956-ffa450edef68
2013-04-20 13:11:14 +00:00
Thomas Neidhart c143260d76 Fix spelling, formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470005 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 19:35:10 +00:00
Thomas Neidhart 7b6903f116 Fix version tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469591 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 21:59:28 +00:00
Thomas Neidhart 5ea7e3a7d4 [COLLECTIONS-296] Added CollectionUtils#merge methods to merge two sorted Collections. Thanks to Julius Davies for the report and patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469577 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 21:06:40 +00:00
Thomas Neidhart fd5c46d080 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469079 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 21:52:53 +00:00
Thomas Neidhart 73bf0ef0f8 Delete removed features from site.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469072 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 21:02:37 +00:00
Thomas Neidhart 2e2789cda4 Move author to pom, add version/since tags, fix typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469061 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 20:29:58 +00:00
Thomas Neidhart 6f42ddf1ba [COLLECTIONS-429] Improved CollectionUtils#containsAll with the version from the patch, added more javadoc with information on the runtime/space trade-off.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469039 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 19:32:34 +00:00
Thomas Neidhart 2067c96f3f [COLLECTIONS-285] Add serialization support for TreeBidiMap, thanks to Christian Gruenberg.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469020 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:32:49 +00:00
Thomas Neidhart f7a557a38a [COLLECTIONS-444] Apply fix as suggested by John Vasileff.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469016 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:12:48 +00:00
Thomas Neidhart 9036c09662 Add change for COLLECTIONS-452.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469012 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 18:01:46 +00:00
Thomas Neidhart af567c6e2b Add change for COLLECTIONS-382.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469011 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 17:59:36 +00:00
Thomas Neidhart ebfe1112be Disable serialization file creation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469009 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 17:56:22 +00:00
Thomas Neidhart 4ad246d52f Fix type in changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469008 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 17:55:47 +00:00
Thomas Neidhart a8d1066b5e [COLLECTIONS-452] Change package to o.a.c.collections4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1469004 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 17:37:03 +00:00
Thomas Neidhart 6a12cf861d [COLLECTIONS-432] Add change record.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1468587 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 20:12:24 +00:00
Thomas Neidhart 7dfbf675cb [COLLECTION-432] Remove Buffer interface and related classes/packages.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1468586 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 20:05:42 +00:00
Thomas Neidhart bb684e9652 [COLLECTION-432] update bounded collection test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1468584 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 20:03:43 +00:00
Thomas Neidhart b8eee79cce [COLLECTION-432] Remove Buffer interface from ArrayStack.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1468579 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 19:55:20 +00:00
Thomas Neidhart d2280c28ec [COLLECTIONS-432] Add CircularFifoQueue based on CircularFifoBuffer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1468578 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 19:53:49 +00:00
Thomas Neidhart 8961704ab4 Remove unneeded import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1460217 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 19:32:34 +00:00
Thomas Neidhart d9a537edb9 Formatting: line length
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1460216 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 19:32:06 +00:00
Thomas Neidhart d68281f1d5 Remove unnecessary suppress warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1460215 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 19:31:37 +00:00
Gary D. Gregory 95ec15aac0 Fix code formatting from one of my previous commits.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1458025 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 21:43:09 +00:00
Gary D. Gregory e7e13dda7e Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457915 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:45:56 +00:00
Gary D. Gregory 04c5912e94 Javadoc improvements.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457913 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:45:04 +00:00
Gary D. Gregory 583b468a98 Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:41:54 +00:00
Gary D. Gregory 06dc644595 Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457909 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:40:07 +00:00
Gary D. Gregory d1ac98db17 Fix Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457907 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 18:35:02 +00:00
Gary D. Gregory cce4634e79 Use final for read-only local variables.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:16:42 +00:00
Gary D. Gregory 5dd750e745 Add missing 'final' for parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457875 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:15:38 +00:00
Gary D. Gregory 24e0cf268b Add missing private static final long serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457872 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:14:01 +00:00
Gary D. Gregory e230b2d40e Add missing @Override.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:13:07 +00:00
Gary D. Gregory 8f672e373e private field can be final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457870 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:12:13 +00:00
Gary D. Gregory 18ba121c56 Always use a block.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457869 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 17:11:08 +00:00
Thomas Neidhart b5f66526a4 Add missing since tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457661 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 07:36:51 +00:00
Thomas Neidhart 30748db1e2 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457548 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:10:15 +00:00
Thomas Neidhart dcda42acf5 [COLLECTIONS-351] Remove EMPTY_LIST, EMPTY_SET and EMPTY_MAP.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457540 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:39:30 +00:00
Thomas Neidhart 0de81d9e4c Remove obsolete serialization data.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457534 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:36:27 +00:00
Thomas Neidhart 0a131d671c [COLLECTIONS-375] Added ListUtils.defaultIfNull.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457533 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:35:45 +00:00
Thomas Neidhart 8194aba1f4 [COLLECTIONS-351] Moved IdentityMap to tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457527 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:24:14 +00:00
Thomas Neidhart 492288c34f Remove obsolete abstract test class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457519 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:05:48 +00:00
Thomas Neidhart f704906d20 Cleanup of test classes wrt author, version tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457518 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 19:03:15 +00:00
Thomas Neidhart 6cf9d485ab [COLLECTIONS-351] Fix SynchonizedBag after removal of SynchronizedSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457514 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 18:50:44 +00:00
Thomas Neidhart c340a74c7e [COLLECTIONS-351] Removed Synchronized[List, Set, SortedSet] and replaced with calls to Collections.synchronizedXXX.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457511 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 18:39:57 +00:00
Thomas Neidhart 3466da1a67 [COLLECTIONS-451] add to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457509 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 18:24:25 +00:00
Thomas Neidhart a2be810bb5 [COLLECTIONS-451] Hide constructors for *Utils classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1457508 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 18:21:58 +00:00