Commit Graph

41 Commits

Author SHA1 Message Date
Gary Gregory a6d53a7649 Standardize on American English spelling of 'behavior'. 2020-03-30 10:48:32 -04:00
aherbert 3aa817726b Add indentation check to checkstyle.
Fixed all code. Case statements have an indent of zero as recommended by
Oracle. Previously the code was using either 0 or 4 as the indent. Using
zero for the check has fewer violations that require fixing.
2020-02-24 21:22:06 +00:00
Gary Gregory 1a193e4f21 Use final. 2020-01-26 17:35:27 -05:00
Gary Gregory 1e57244dc1 Remove redundant semicolons. 2020-01-26 17:29:45 -05:00
Gary Gregory 0eb36e1c78 Javadoc: Replace <code></code> HTML tags with Javadoc {@code} notation. 2019-12-09 22:03:10 -05:00
Gary Gregory 513ae545ee Use Objects#requireNonNull() instead of if-null-then-throw-NPE.
Use simple exception message, instead of mix of message formats.
2019-12-09 21:01:21 -05:00
Gary Gregory b0b5759d5a Close tags in class-level Javadoc. No empty p tags.
Remove trailing spaces.
2019-05-10 08:37:02 -04:00
이종현 bd76c28259 Add removeIf (#70)
* Add removeIf to SynchronizedCollection, Add mac store files to gitignore

* - added removeIf

* - added removeIf
- added Tests for removeIf

* minor fix

* p tag fix in comments

* Added @since 4.4 javadoc tag
2019-05-05 10:16:38 -04:00
Bruno P. Kinoshita 61049275b0 Remove unused imports 2019-02-16 21:30:46 +13:00
Gary Gregory b97da105fb [COLLECTIONS-710] Calling CompositeCollection.size() will cash if the
list contains null element.
2019-02-09 17:41:20 -05:00
Gary Gregory 059c468f73 Use final. 2018-01-02 19:51:56 -07:00
Gary Gregory 5d756cebd7 Javadoc: Add missing @param tags for generics. 2017-12-28 13:32:52 -07: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
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 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
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 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 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 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 7727c1cc08 Deprecate MultiValueMap and MultiMap, replaced by MultiValuedMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1683018 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 22:41:31 +00:00
Thomas Neidhart dd5e51e5b3 [COLLECTIONS-530] Added Builder for PredicatedCollection. Thanks to Erik.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1654518 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 14:03:40 +00:00
Thomas Neidhart 30e5023265 [COLLECTIONS-543] AbstractCollectionDecorator does not forward equals and hashCode anymore to the backing collection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651115 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 15:21:18 +00:00
Thomas Neidhart 6975b0567d [COLLECTIONS-512] Revert javadoc comment in AbstractCollectionDecorator, method should not delegate, see COLLECTIONS-543.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1651099 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 14:08:25 +00:00
Thomas Neidhart 161aa07d8b [COLLECTIONS-512] Added note to javadoc of AbstractCollectionDecorator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1649014 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 13:02:46 +00:00
Emmanuel Bourg d990feb367 Minor changes (typo, unused import)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543740 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 09:33:14 +00:00
Gary D. Gregory 5bef000847 Remove redundant use of public modifier.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1543268 13f79535-47bb-0310-9956-ffa450edef68
2013-11-19 00:49:59 +00:00
Thomas Neidhart 539be680cd [COLLECTIONS-496] UnmodifiableBoundedCollection does now also implement the Unmodifiable marker interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1540766 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 16:47:20 +00:00
Thomas Neidhart 4fca8268a9 [COLLECTIONS-485] Added wildcards to copy-constructors and unmodifiable decorators / iterators, thanks to Hollis Waite.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1533984 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 21:12:51 +00:00
Thomas Neidhart ba1e716261 [COLLECTIONS-481] Also change to varargs parameter in CompositeCollection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1521617 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 20:00:25 +00:00
Thomas Neidhart 0cba84e103 [COLLECTIONS-473] Made field collection private and added setter for de-serialization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494280 13f79535-47bb-0310-9956-ffa450edef68
2013-06-18 20:07:04 +00:00
Thomas Neidhart 20619b096c [COLLECTIONS-455] Remove todos: keep decorated object protected.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1493902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 19:40:34 +00:00
Thomas Neidhart 6a957e410a Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1479401 13f79535-47bb-0310-9956-ffa450edef68
2013-05-05 21:51:47 +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
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 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
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 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 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 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