Commit Graph

3245 Commits

Author SHA1 Message Date
이종현 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
Gary Gregory ca6851e3ec Update maven-pmd-plugin from 3.11.0 to 3.12.0. 2019-04-23 15:20:16 -04:00
Gary Gregory 223a248fb7 Add OpenJDK 12 to Travis builds. 2019-04-16 09:12:19 -04:00
Gary Gregory eac7bf76e8 Update tests from Apache Commmons Lang 3.8.1 to 3.9. 2019-04-14 20:23:00 -04:00
Gary Gregory 68948279bc Update Apache Commons Parent from 47 to 48. 2019-03-25 10:39:33 -04:00
Gary Gregory bb0781551c Update Travis build with more JDKs. 2019-03-22 15:18:28 -04:00
Gary Gregory 3b9f72be23 Remove redundant type arguments. 2019-03-09 08:47:39 -05:00
Bruno P. Kinoshita 5c33153740
Merge pull request #69 from kinow/fix-warnings-1
Fix site report issues
2019-02-17 21:09:55 +13:00
Bruno P. Kinoshita 9f45dc09e3 Fix PMD issue regarding Ternary operators that can be simplified 2019-02-16 21:51:21 +13:00
Bruno P. Kinoshita 2da1b2f60d Fix PMD issue for class already imported 2019-02-16 21:39:48 +13:00
Bruno P. Kinoshita 3742db4b28 enum constructors are already private 2019-02-16 21:39:30 +13:00
Bruno P. Kinoshita 61049275b0 Remove unused imports 2019-02-16 21:30:46 +13:00
Bruno P. Kinoshita 0d892c260a Remove unnecessary supress warning for generics 2019-02-16 21:29:56 +13:00
Eitan Adler 342b03d1dd [BulkTest] remove workarounds for buggy JDK 1.6 implementations (#68)
Considering that we now require Java 8, having a workaround for IBM's
version of JDK 1.6 isn't required.
2019-02-10 06:48:18 -05:00
Gary Gregory c46666c5dd [COLLECTIONS-710] NullPointerExceptions in CompositeCollection,
CompositeSet, and CompositeMap.
2019-02-09 18:00:23 -05:00
Gary Gregory 036bbf34d2 [COLLECTIONS-710] Calling CompositeCollection.size() will cash if the
list contains null element.
2019-02-09 17:52:29 -05: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 b4ac43e113 Sort members. 2019-02-09 17:21:31 -05:00
Gary Gregory 0ac8e7cd91 Add Oracle 11 to Travis build. 2019-02-09 14:46:12 -05:00
Gary Gregory a5347ebe43
Merge pull request #67 from grimreaper/eax/no-dead-map-impl
[FixedOrderComparator] Simplify always false condition. ivar is final and initialized to a non-null value.
2019-02-09 14:36:31 -05:00
Eitan Adler 896334a1e3 [FixedOrderComparator] Simplify always false condition
map is a final value initialized to an object and can never be null.
2019-02-08 23:59:52 -08:00
Maxim Solodovnik 05939ff547
Download links are fixed 2019-02-09 12:54:56 +07:00
Maxim Solodovnik 40d6ffa381
Missing top level javadoc link is added 2019-02-07 22:32:33 +07:00
Maxim Solodovnik 89008f2b15 Create Commons collections 4.3 release tag
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE07/ZeejT3UvtphvEnmkXtcRnUm4FAlxZu5YACgkQnmkXtcRn
 Um5rFg/8CdoshaRoLOHXz69U2vQmW6IbKogi+dUTOofD+532XExl/4nwq+E1U7Db
 3ibOFVoEZ73VFRIOhjaEHEwi6+ZNvp6Bxv7HxEN6pcEvIXPuqljwmaLLXkKzZeCP
 2y0bxoztYAHVWbcBfLvSRWBbkzkmRnq/00Mmp6HwOdf6w+Z2+5XpNIqs7kYUWkqw
 7hsDZQhbIWGIo2grb8LlloE4FchXwqg6lfmtNTlaXGlZpxOYNuq+RtF+RSPngKgl
 Dg0oAoupV6YQa3f5Yj2/o/5GZV6lEpttYqlwSlY+PmdMJue5vm9SxUmbIeoT9XJe
 oNjbb4nGOm/cthM/DDnIVSzgqGhvG/ui1gAforP6Ft4VKUZtVnAIxOCS8nWOgQg6
 OdCPOYOd6n6fIC5Tft7bUsedAMfLiy9FtUx2Nw9KFfVicNIyqCNxU5NXOqfi+66x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=
 =D+uv
 -----END PGP SIGNATURE-----

Merge tag 'collections-4.3'

Create Commons collections 4.3 release tag
2019-02-05 23:43:30 +07:00
Maxim Solodovnik 5f0df4bf5d
Bump to next development version 2019-02-05 23:38:22 +07:00
Bobby Wertman ea11bf98b0 [COLLECTIONS-706] Set Entry count to 0 after remove. 2019-01-20 09:07:01 -05:00
Bruno P. Kinoshita 441dbb2e25 Merge branch 'fix-checkstyle-pmd-issues'
This closes #65
2019-01-20 16:23:19 +13:00
Bruno P. Kinoshita ba66f76a13 Fix PMD issue (unnecessary private modifier in enum constructor) 2018-12-30 20:16:41 +13:00
Bruno P. Kinoshita 66a12849c7 Fix checkstyle issue (remove unused import) 2018-12-30 20:15:49 +13:00
Bruno P. Kinoshita 2667694732 Fix checkstyle issue (trailing spaces) 2018-12-30 20:15:14 +13:00
Maxim Solodovnik 77e37dbf23
index.xml is updated with version 4.3, release notes for 4.3 is created 2018-12-26 20:04:11 +07:00
Maxim Solodovnik 54fb18ac54
Download page and build properties are updated 2018-12-26 08:33:15 +07:00
Maxim Solodovnik 5f959fd8e7
Release candidate. 2018-12-18 21:53:01 +07:00
Gary Gregory b3cc99ca7d Add org.apache.commons.collections4.SetUtilsTest.testUnmodifiableSetWrap()
and sort methods.
2018-12-11 09:08:48 -07:00
Gary Gregory e6743fb61d Add org.apache.commons.collections4.SetUtilsTest.testUnmodifiableSetWrap()
and sort methods.
2018-12-11 09:06:17 -07:00
Gary Gregory 75c8ade02e [COLLECTIONS-706] Add SetUtils.unmodifiableSet(T... items) method. 2018-12-11 08:50:46 -07:00
Gary Gregory 15a3044690 Sort methods. 2018-12-11 08:40:50 -07:00
Tomas Tulka 26bebdafe4 [COLLECTIONS-703] The PassiveExpiringMap#put() method should return the
previous record only if not expired.
2018-11-23 00:51:19 -07:00
Gary Gregory c15be5398f [COLLECTIONS-701] StackOverflowError in SetUniqueList.add() when it
receives itself. Closes #57.
2018-11-23 00:33:19 -07:00
Don Jeba 1979a6e310 [COLLECTIONS-701] StackOverflowError in SetUniqueList.add() when it
receives itself. Closes #57.
2018-11-23 00:32:09 -07:00
Gary Gregory dc828f8b16 Sort members. 2018-11-23 00:24:01 -07:00
Nandor Kollar 2ec7843b94 [PATCH] Fix Rat check - add missing licence header. Closes #58. 2018-11-13 15:18:43 -07:00
Gary Gregory a424d2ff17 [COLLECTIONS-701] SetUniqueList.add() crashes due to infinite recursion.
Add tests.
2018-11-08 12:00:23 -07:00
Gary Gregory d8fd531766 Javadoc nits. 2018-11-01 14:10:30 -06:00
Gary Gregory b5585aaa60 Update EasyMock from 3.6 to 4.0 to fix testing on Java 11. 2018-10-28 09:03:46 -06:00
Gary Gregory 6b9e6419fc Casting to Object[] allows compilation on Java 11. 2018-10-28 08:59:29 -06:00
Gary Gregory 43b7fe30ec Typo. 2018-10-22 23:04:56 -06:00
Gary Gregory dc9032be28 Refactor common code into a private method. 2018-10-11 17:49:35 -06:00
george-ranjan 74ad211470 COLLECTIONS-697: Ensure FixedSizeList respects underlying list's size
Formally document and test that if the size of the backing list of
FixedSizeList changes, then so does the FixedSizeList. This has been the
historical behavior. Letting it be part of the contract is reasonable,
expected, and worthwhile to note.

Fixes #55
2018-10-03 03:40:46 -07:00
Gary Gregory d6800c606c [COLLECTIONS-696] AbstractReferenceMap made easier for subclassing; PR
#51.
2018-09-19 09:09:16 -06:00