Commit Graph

2516 Commits

Author SHA1 Message Date
Gary Gregory 864fda4370 Sort members. 2018-02-22 13:30:44 -07:00
Gary Gregory 8accf274ba Javadoc nit. 2018-02-22 13:30:12 -07:00
Gary Gregory 68747912d2 Javadoc nit. 2018-02-22 13:29:31 -07:00
Gary Gregory 4a9bcd0f52 [COLLECTIONS-599] HashEntry array object naming data initialized with
double the size during deserialization.
2018-02-01 11:50:15 -07:00
Gary Gregory 1e6435ec10 Javadoc. 2018-01-12 11:03:43 -07:00
Gary Gregory 22daa5f1dd [COLLECTIONS-671] Add
org.apache.commons.collections4.IterableUtils.first(Iterable).
2018-01-10 09:57:27 -07:00
Gary Gregory b5b45d3260 [COLLECTIONS-670] Add
org.apache.commons.collections4.IteratorUtils.first(Iterator).
2018-01-10 09:49:39 -07:00
Gary Gregory 598ab40a59 Better wording. 2018-01-03 10:06:18 -07:00
Gary Gregory 059c468f73 Use final. 2018-01-02 19:51:56 -07:00
Gary Gregory 9e62a0e998 Remove trailing white spaces on all lines. 2018-01-02 19:50:06 -07:00
Gary Gregory c6dc370abb [COLLECTIONS-575] Synchronized queue wrapper in QueueUtils. 2018-01-02 19:49:41 -07:00
Gary Gregory 611c73889b [COLLECTIONS-669] Update
org.apache.commons.collections4.CollectionUtils.addAll(Collection<C>,
C[]) to addAll(Collection<C>, C...).
2018-01-02 15:54:09 -07:00
Gary Gregory 5723ce72d0 [COLLECTIONS-669] Update
org.apache.commons.collections4.CollectionUtils.addAll(Collection<C>,
C[]) to addAll(Collection<C>, C...)
2018-01-02 15:34:03 -07:00
Gary Gregory 2fd2a76110 [COLLECTIONS-666] org.apache.commons.collections4.ListUtils.union(List,
List) should pre-allocate result list
2017-12-30 23:16:21 -07:00
Gary Gregory 45f42120a6 Update release description. 2017-12-29 10:59:34 -07:00
Gary Gregory 8b6dc36b37 Fix typo. 2017-12-29 10:56:37 -07:00
Gary Gregory 6044892b88 Javadoc: Add missing @param tags for generics. 2017-12-28 13:56:04 -07:00
Gary Gregory 36d33722c3 Javadoc: Add missing @param tags for generics. 2017-12-28 13:37:20 -07:00
Gary Gregory 5d756cebd7 Javadoc: Add missing @param tags for generics. 2017-12-28 13:32:52 -07:00
Gary Gregory 8e09f5f538 Javadoc: Add missing @param tags for generics. 2017-12-28 13:22:24 -07:00
Gary Gregory 8b66a577f4 No need to nest in an else clause. 2017-12-28 13:17:33 -07:00
Gary Gregory 5023b45c00 Fix formatting nits. 2017-12-27 16:03:51 -07:00
Benedikt Ritter 0b1460dadb
Add missing files to source archive 2017-10-28 18:51:14 +02:00
Rob Tompkins 94cfcc6989 COLLECTIONS-662: Thanks Vamsi 2017-10-19 15:27:29 -04:00
ggregory be6789ced6 Remove trailing white spaces on all lines. 2017-10-14 13:41:44 -06:00
Kavuri, Vamsi b9522976f4 MapUtilsTest: fix order of expected and actual parameter in assertions (closes #32) 2017-10-14 18:52:04 +02:00
ggregory 641aa1c663 Brute force test all available locales (it's fast.) for MapUtils which
previously failed on locales that do not use '.' as the decimal
separator. No main code changes.
2017-10-13 19:01:37 -06:00
Gary Gregory 07de4dd578 Remove redundant type arguments. 2017-10-11 16:40:09 -06:00
Gary Gregory 1bcfa1cc87 Remove unnecessary casts 2017-10-11 16:39:20 -06:00
Gary Gregory b9e2a97758 Use final. 2017-10-11 16:37:38 -06:00
Bruno P. Kinoshita eed8a7adb3 [COLLECTIONS-661] Intermittent test failures in Windows for
HashSetValuedHashMap.
2017-10-11 16:37:09 -06:00
Gary Gregory b5eb4fcc8d Revert "Use final for params."
This reverts commit cefe846e3e.
2017-10-11 16:34:10 -06:00
Gary Gregory 992ab3c9f2 Revert "Use final for locals."
This reverts commit 712ddb1e19.
2017-10-11 16:33:54 -06:00
Gary Gregory 712ddb1e19 Use final for locals. 2017-10-11 16:26:04 -06:00
Gary Gregory cefe846e3e Use final for params. 2017-10-11 16:25:21 -06:00
Gary Gregory 8713af90d5 Add unit tests to increase code coverage. This closes #29. 2017-10-11 16:23:41 -06:00
Bruno P. Kinoshita 1d21a49c27 COLLECTIONS-660: add changes.xml entry 2017-10-04 17:42:15 +13:00
Bruno P. Kinoshita 9d4f2ba886 COLLECTIONS-660: uncomment and change order of assertEquals 2017-10-04 17:34:49 +13:00
Bruno P. Kinoshita 1cdad51a01 Fix typo in javadoc 2017-10-04 17:17:06 +13:00
pascalschumacher c8bdf60d1d IterableUtilsTest#indexOf, IteratorUtilsTest#indexOf: simplify 2017-10-02 11:51:27 +02:00
Benedikt Ritter afebe421ea
Drop Ant build 2017-09-25 19:57:30 +02:00
Benedikt Ritter 80ec288ee7
COLLECTIONS-658: Add Automatic-Module-Name MANIFEST entry for Java 9 compatibility. 2017-09-20 09:16:53 +02:00
pascalschumacher d2eeb6404f properties/package-info.java: fix java 8 javadoc warning because of empty p tag 2017-09-16 10:48:43 +02:00
pascalschumacher b75d948dab fix javadoc warnings related to java.util.Map.Entry 2017-09-16 10:43:48 +02:00
Bruno P. Kinoshita e736f41062 COLLECTIONS-656 changes.xml entry 2017-09-13 19:55:13 +12:00
Bruno P. Kinoshita 9ae946c7da Fix two PMD issues, but comment others where if's were added for readability 2017-09-13 00:51:31 +12:00
Bruno P. Kinoshita 55e8eac25d Fix FindBugs issues 2017-09-13 00:43:25 +12:00
Bruno P. Kinoshita 49a5c0a4ee Remove last checkstyle error by adding package-info.java 2017-09-13 00:34:35 +12:00
Bruno P. Kinoshita 29d2e93966 Remove @version tag as this component has been migrated to git 2017-09-12 23:00:44 +12:00
Bruno P. Kinoshita 8dceb1c85f COLLECTIONS-653 add changes.xml entry 2017-09-12 22:38:10 +12:00
Bruno P. Kinoshita f98ef6d3ba COLLECTIONS-653 fix Javadoc syntax for Java 8 2017-09-12 22:35:18 +12:00
Gary Gregory eef8f1a0aa Remove redundant type arguments. 2017-07-26 23:43:14 -07:00
Gary Gregory f4a63c4c72 [COLLECTIONS-655] Update platform from Java 6 to Java 7. 2017-07-26 23:40:14 -07:00
Gary Gregory ee851e403b [COLLECTIONS-654] Add class SortedProperties to sort keys. 2017-07-25 15:19:25 -07:00
Rob Tompkins b002903af2 (docs) one more minor svn -> git change 2017-07-18 08:28:01 -04:00
Rob Tompkins c25a3efe1b (docs) update site. re. svn -> git 2017-07-18 08:03:24 -04:00
Rob Tompkins dbd1565df9 COLLECTIONS-606: README.md fix, thanks to Vamsi, closes #23
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1798499 13f79535-47bb-0310-9956-ffa450edef68
2017-06-12 18:10:06 +00:00
Bruno P. Kinoshita 441df91aa1 Change action type in changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1796032 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 09:33:26 +00:00
Bruno P. Kinoshita 8f346f9f12 COLLECTIONS-602: Improve efficiency of DefaultedMap.get. Applying patch provided by John Mark.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1796031 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 09:32:48 +00:00
Bruno P. Kinoshita 9f0d58985f COLLECTIONS-603: Small improvements for generics, conditional statements, and warnings suppressions
Thanks to Artem Konovalov

This closes #17



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1796010 13f79535-47bb-0310-9956-ffa450edef68
2017-05-24 08:20:09 +00:00
Bruno P. Kinoshita a26fcf58e4 Fix <Generic type> not being displayed in javadoc
Thanks to Ruben Anders

This closes #16



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1795689 13f79535-47bb-0310-9956-ffa450edef68
2017-05-21 06:40:03 +00:00
Gary D. Gregory 3c1867e231 [COLLECTIONS-597] Correction of Javadoc for org.apache.commons.collections4.functors.CatchAndRethrowClosure. Reported by Enrique.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1765914 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 05:53:10 +00:00
Gary D. Gregory edf3867212 [COLLECTIONS-594] Web site spelling error: MultiValuedMapeList. Typo in changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1765909 13f79535-47bb-0310-9956-ffa450edef68
2016-10-21 05:49:15 +00:00
Gary D. Gregory c2c01cbb85 [COLLECTIONS-594] Website spelling error: MultiValuedMapeList.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1760443 13f79535-47bb-0310-9956-ffa450edef68
2016-09-12 19:49:08 +00:00
Gary D. Gregory a270ff6285 [COLLECTIONS-586] PatriciaTrie prefixMap clear throws NullPointerException. Applied patch and added an extra test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1755219 13f79535-47bb-0310-9956-ffa450edef68
2016-08-04 17:32:17 +00:00
Gary D. Gregory 796114ea4a Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1755218 13f79535-47bb-0310-9956-ffa450edef68
2016-08-04 17:28:08 +00:00
Gary D. Gregory ec9b71b95d Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1747096 13f79535-47bb-0310-9956-ffa450edef68
2016-06-07 00:36:05 +00:00
Gary D. Gregory 2ce582ee66 Standardize on US English spelling (recognised -> recognized.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1744813 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 23:37:45 +00:00
Gary D. Gregory 5187b21788 Javadoc nit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1744809 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 22:40:13 +00:00
Gary D. Gregory 930015a137 [COLLECTIONS-589] Add null-safe MapUtils.size(Map&lt;?, ?>) method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1744808 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 22:30:06 +00:00
Gary D. Gregory 979a93d7b6 Javadoc nit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734648 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 23:51:22 +00:00
Gary D. Gregory b4207ef106 Add missing @param.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734647 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 23:50:45 +00:00
Gary D. Gregory c62ad3c015 Add missing @param.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734646 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 23:44:37 +00:00
Gary D. Gregory 42d42b2397 Add final to some ivars.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734634 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 21:15:35 +00:00
Gary D. Gregory 5250fdfdf3 Add missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1734633 13f79535-47bb-0310-9956-ffa450edef68
2016-03-11 21:12:21 +00:00
Bernd Eckenfels 634917ecc8 security-report: added CVE-2015-7501 (Red Hat) to de-serialisaton references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1719350 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 11:39:08 +00:00
Thomas Neidhart 2db76b1774 Fix stupid typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1717608 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 11:20:11 +00:00
Thomas Neidhart 1ce3b3e546 Update doap and changes file after release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716923 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 21:51:47 +00:00
Thomas Neidhart 703064dc07 Update site after release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716921 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 21:49:43 +00:00
Thomas Neidhart 637836aee0 Update download page after release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716919 13f79535-47bb-0310-9956-ffa450edef68
2015-11-27 21:48:37 +00:00
Thomas Neidhart a7cbb44991 Fix javadoc for IterableUtils: remove() is normally supported.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716538 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 20:27:49 +00:00
Thomas Neidhart 3e7cefa2b1 Remove wrong statement in interface
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1716537 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 20:27:24 +00:00
Thomas Neidhart a0eff4bffd Make eclipse compiler happy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715973 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:42:01 +00:00
Thomas Neidhart 64e8b87291 Comment out test that create the serialized test objects.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715958 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:23:57 +00:00
Thomas Neidhart 64aa055879 Add explicit cast to prevent compilation error with jdk 1.8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715956 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 21:23:14 +00:00
Thomas Neidhart 6920d4697f Remove obsolete checkstyle module.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715701 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:30:36 +00:00
Thomas Neidhart dc77a0915d Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715700 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:27:38 +00:00
Thomas Neidhart 838812ec27 Add description to changelog.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715698 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:20:23 +00:00
Thomas Neidhart 42dfee86e3 Use getMap() instead of asMap().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715697 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:20:04 +00:00
Thomas Neidhart d323621656 [COLLECTIONS-508] Added asMap() implementation for MultiValuedMaps.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715695 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 21:11:49 +00:00
Thomas Neidhart dd3ac288b6 Document the todos wrt size() and wrapped collections: for the 4.1 release we leave it as is as it would require too much work and can be improved later.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715653 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 17:14:42 +00:00
Thomas Neidhart e85e91a1c6 Update release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715595 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 00:37:47 +00:00
Thomas Neidhart ad71baf2c4 Update history.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715589 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 23:23:38 +00:00
Thomas Neidhart 33ed8578f0 Add COLLECTIONS-508 change.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715588 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 23:10:14 +00:00
Thomas Neidhart d471da930c Complete KeysMultiSet view.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715565 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 20:14:15 +00:00
Thomas Neidhart ffe13cfcca Add abstract class to simplify creation of MultiSet implementations, needed for MultiValuedMap; additional cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715563 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 20:13:35 +00:00
Thomas Neidhart 52372e8f2b Fix checkstyle warnings, add missing AL header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715492 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 10:09:31 +00:00
Thomas Neidhart 7d2507ee16 Fix apache license header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715490 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 09:52:05 +00:00
Thomas Neidhart c64fb87ebe Add security report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715489 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 09:51:39 +00:00
Thomas Neidhart 313babb6e2 Add 3.2.2 changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715488 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 09:51:19 +00:00
Thomas Neidhart b2b8f4adc5 [COLLECTIONS-580] Do not use InstantiateFactory anymore for MultiValuedMaps: different MultiValuedMap implementations are now fully typed for the used underlying map and value collection class being used. This has pros and cons, but it is certainly safer to do it that way.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1715302 13f79535-47bb-0310-9956-ffa450edef68
2015-11-19 23:08:01 +00:00
Thomas Neidhart ccda2db161 Add toString method in AbstractMultiValuedMap#KeysMultiSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714708 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 23:09:01 +00:00
Thomas Neidhart 8ed80d9d68 Fix size calculation of entrySet in MultiSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714707 13f79535-47bb-0310-9956-ffa450edef68
2015-11-16 23:08:26 +00:00
Thomas Neidhart 76f0eece9e Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714484 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 18:20:41 +00:00
Thomas Neidhart ebd02bb33a Add changelog entry for COLLECTIONS-551.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714464 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 15:13:13 +00:00
Thomas Neidhart a5e5edfef6 Added changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714463 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 15:08:39 +00:00
Thomas Neidhart 59c6e94d52 [COLLECTIONS-567] Add missing unit tests, fix problems with remove method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714462 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 15:04:19 +00:00
Thomas Neidhart e58963b51e [COLLECTIONS-567] Add MultiSetUtils, fix typos, remove references to bag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714424 13f79535-47bb-0310-9956-ffa450edef68
2015-11-15 10:06:16 +00:00
Thomas Neidhart 78d47d4d09 [COLLECTIONS-580] Clarify class javadoc of utils that only unsafe classes are serializable anymore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714362 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 20:38:02 +00:00
Thomas Neidhart 3eee44cf63 [COLLECTIONS-580] Add validation to MultiValueMap#ReflectionFactory: only Collection classes are support.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714360 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 20:24:42 +00:00
Thomas Neidhart 7a72b1983c Update 3.2.2 release notes site + add link to release notes in navigation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714331 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 14:16:00 +00:00
Thomas Neidhart 0d1c6168f4 Temporarily disable tests for new multi-valued maps wrt serialization until support is restored.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714322 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 13:38:05 +00:00
Thomas Neidhart adf63bc15a Update site for latest 3.2.2 release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714319 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 13:37:02 +00:00
Thomas Neidhart da1a5fe00d [COLLECTIONS-580] Remove serialization tests for classes which are not serializable anymore.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714318 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 13:24:24 +00:00
Thomas Neidhart e585cd0433 [COLLECTIONS-580] Removed serialization support for the identified unsafe classes in the collections4 branch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1714262 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 20:08:45 +00:00
Thomas Neidhart 3b691712fd [COLLECTIONS-577] Add additional test cases for fixed problems with prefixMap. Thanks to Chris Duncan
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1705637 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 09:42:00 +00:00
Thomas Neidhart f8bd75d37c [COLLECTIONS-576] Fix de-serialization of MultiKey subclasses: hashcode was not re-calculated. Thanks to Stephan Roch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1705620 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 08:53:44 +00:00
Sebastian Bazley 3a9c4718ee Move assembly to standard location
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1696445 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 15:17:23 +00:00
Thomas Neidhart 92406348db Clarify that returned uniqueSet only supports removal operations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688313 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 21:31:56 +00:00
Thomas Neidhart 0db8c22eb1 [COLLECTIONS-567] Add Predicated and Synchronized decorators.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688308 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 21:28:54 +00:00
Thomas Neidhart 74199bc2ba Add reference to parent ticket.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1688303 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 20:41:17 +00:00
Thomas Neidhart 3ac225d9a5 Fix checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686950 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 21:51:07 +00:00
Thomas Neidhart 9314193c8c [COLLECTIONS-572] Add set operations to SetUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686948 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 21:49:27 +00:00
Thomas Neidhart 90509ce84e Add indexOf methods to IterableUtils and IteratorUtils, replace last occurrence of ArrayStack with ArrayDeque.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686921 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 19:48:47 +00:00
Thomas Neidhart 68bbd2cf4a [COLLECTIONS-570] Consistently use a NullPointerException if a required input is null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686855 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 13:00:27 +00:00
Thomas Neidhart 0acb702f3e [COLLECTIONS-571] Deprecate CollectionUtils.{synchronized,unmodifiable}Collection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1686826 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 10:17:20 +00:00
Thomas Neidhart 9f363c0dae Fix checkstyle warnings, cleanup IteratorUtils, fix throws clauses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685902 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 20:13:13 +00:00
Thomas Neidhart 68b92abce7 Revert to returning null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685310 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 19:38:32 +00:00
Thomas Neidhart 1954a51bb5 Continue review of multimap package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1685299 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 18:27:11 +00:00
Thomas Neidhart 4f5a854b28 Continue review of MultiValuedMap interface and implementations: code style and formatting, use NullPointerException for null arguments, use MultiSet instead of Bag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684983 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 22:07:08 +00:00
Thomas Neidhart fb08d55cbe Add unmodifiable multiset decorator, abstract base test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684982 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 22:05:50 +00:00
Thomas Neidhart eced8829bf [COLLECTIONS-567] Add interface / skeleton code and first implementation of a MultiSet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684969 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 20:30:39 +00:00
Thomas Neidhart f188400b22 Fix comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684859 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 11:57:24 +00:00
Thomas Neidhart bb7ddb5396 Add missing svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684264 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 20:06:29 +00:00
Thomas Neidhart b653182a8a Add ComparatorUtilsTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684262 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 20:05:37 +00:00
Thomas Neidhart be1e92fa79 Complete unit tests for FluentIterable, fix exception for toArray.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684252 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 19:38:26 +00:00
Thomas Neidhart f4693f0adf Clarify null argument behavior of IterableUtils and FluentIterable: decorators do not accept null values, whereas utility methods are null-safe wrt Iterable instances.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684147 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 11:08:42 +00:00
Thomas Neidhart a049083c8f Rename cardinatlity to frequency, apply to forEach, add empty and singleton methods to FluentIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1684123 13f79535-47bb-0310-9956-ffa450edef68
2015-06-08 08:53:26 +00:00
Thomas Neidhart fd7506f4d7 Add missing @Override tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683951 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:19:03 +00:00
Thomas Neidhart 80b08f8c3a Move cardinality method, rename frequency to countMatches.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683914 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 14:29:12 +00:00
Thomas Neidhart ed1d755bab Add emptyIfNull method, simplification.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 12:16:11 +00:00
Thomas Neidhart 6c8caea331 [COLLECTIONS-551] Move forAllButLastDo methods, add unmodifiableIterable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683897 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 12:00:46 +00:00
Thomas Neidhart 5214f66618 [COLLECTIONS-551] Move partition methods from CollectionUtils to IterableUtils. Make method consistent: do not allow null predicates, return the same for a null iterable as for an empty one.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683894 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 08:54:54 +00:00
Thomas Neidhart ed39f93348 Add more tests, add emptyIterable() method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683759 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 14:06:47 +00:00
Thomas Neidhart 8d78483013 Fix checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683722 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 12:00:32 +00:00
Thomas Neidhart c33d3969a3 Add more FluentIterable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683688 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 09:41:04 +00:00
Thomas Neidhart 2403bf6543 Fix checkstyle warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683648 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 21:33:43 +00:00
Thomas Neidhart bafb7096f0 Minor changes to FluentIterable, added toList to IterableUtils, added first FluentIterable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683646 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 21:12:09 +00:00
Thomas Neidhart d1270edd92 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683632 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:38:03 +00:00
Thomas Neidhart 73d69dfe86 [COLLECTIONS-566] Use natural ordering in IteratorUtils#collate when the provided comparator is null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683631 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:36:25 +00:00