Commit Graph

4741 Commits

Author SHA1 Message Date
Gary Gregory 18c94780f1 Add AbstractMapTest.testReplaceKeyValue() 2024-09-25 08:20:19 -04:00
Gary Gregory aba168c497 Add AbstractMapTest.testRemoveKeyValue() 2024-09-24 18:11:55 -04:00
Gary Gregory 8d7a701b09 Add AbstractMapTest.testForEach() 2024-09-24 18:01:01 -04:00
Gary Gregory 17aca847b1 Add AbstractMapTest.testMapGetOrDefault() 2024-09-24 16:13:16 -04:00
Gary Gregory 787ad1af76 Update and enable AbstractMapTest.testMapPutIfAbsent() 2024-09-24 15:38:13 -04:00
Gary Gregory 867329a18e Add @Disabled("TODO bidimap") for testMapPutIfAbsent() 2024-09-24 14:05:28 -04:00
Gary Gregory cc8038578e Add AbstractMapTest.testMapPutIfAbsent() 2024-09-24 14:00:38 -04:00
Gary Gregory 516fda076b Add AbstractMapTest.testMapPutIfAbsent() 2024-09-24 14:00:23 -04:00
Gary Gregory 1f23f8ed61 Add license header 2024-09-24 09:56:27 -04:00
Gary Gregory c87e608bd2 Add a sanity test for the test framework 2024-09-24 09:49:31 -04:00
Gary Gregory 443b387659 Trailing whitespace 2024-09-24 09:36:23 -04:00
Gary Gregory 2e8c8fc5d4 Javadoc 2024-09-24 09:24:04 -04:00
Gary Gregory 98b7926b28 Whitespace 2024-09-23 15:27:30 -04:00
Gary Gregory 14684f2b34 Whitespace 2024-09-23 11:19:20 -04:00
Gary Gregory 8dd0cc14bc Javadoc 2024-09-23 10:49:40 -04:00
Gary Gregory 4b2e8e9396 Also run DR on push 2024-09-23 09:26:48 -04:00
Gary Gregory 5c614f1eba Fix due-to attribute 2024-09-21 09:46:12 -04:00
Gary Gregory 94c168dc14 Add dependency-review.yml to GitHub CI 2024-09-20 19:57:07 -04:00
dependabot[bot] fc65a4c49a Bump github/codeql-action from 3.26.6 to 3.26.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4dd16135b6...294a9d9291)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-20 09:22:36 -04:00
Gary Gregory a09f19cacb CI builds: Replace Java 22 with Java 23 2024-09-18 20:33:08 -04:00
Gary Gregory 7f71697d34
Bump org.apache.commons:commons-parent from 74 to 75 #545 2024-09-18 18:24:39 -04:00
dependabot[bot] d980af67c7 Bump org.apache.commons:commons-parent from 74 to 75
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 74 to 75.
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:24:15 -04:00
Gary Gregory da9a4698fb
Bump commons-io:commons-io from 2.16.1 to 2.17.0 #544 2024-09-18 18:24:06 -04:00
dependabot[bot] d8fc85b953 Bump commons-io:commons-io from 2.16.1 to 2.17.0
Bumps commons-io:commons-io from 2.16.1 to 2.17.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:23:19 -04:00
Gary Gregory 956eb47745 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2024-09-13 10:53:16 -04:00
Gary Gregory 9fd81b8cc0 Drop URLs to download old versions 2024-09-13 10:53:09 -04:00
dependabot[bot] 4f0b0f8a6e Bump actions/setup-java from 4.2.2 to 4.3.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.2.2 to 4.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](6a0805fcef...2dfa2011c5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 10:38:21 -04:00
Gary Gregory c2a2819c8e Convert cascading if-else to switch 2024-09-11 20:51:47 -04:00
Gary Gregory 9b867c15b6 Don't overspecifiy JUnit dependencies
junit-jupiter-api comes in through junit-jupiter-engine
2024-09-11 16:47:56 -04:00
dependabot[bot] 675af44869 Bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 07:48:03 -07:00
Gary Gregory 290f5f9a89 Make sure IterableUtils.duplicateList() has predicyable order in its
result.

- Add testDuplicateListMultipleDuplicatesInDequeReverse()
- Add testDuplicateListMultipleDuplicatesInListReverse()
- If you do not care about order, use IterableUtils.duplicateSet
2024-09-03 13:45:00 -04:00
Gary Gregory 5db9d7cd23 Move CollectionUtils.duplicates() to IterableUtils
- Update input type from Collection to Iterable
- The CollectionUtils duplicate methods are actually general enough to
work with Iterable
2024-09-02 09:59:01 -04:00
Gary Gregory 03e5b0ee3b Use Assertions.assertInstanceOf() 2024-09-01 19:08:34 -04:00
Gary Gregory e205e071bb Inline redundant package-private method that wraps
Objects.requireNonNull()
2024-09-01 17:59:01 -04:00
Gary Gregory 8f121670d4 Javadoc
- Close HTML tags
- Reduce whitespace
2024-09-01 17:50:50 -04:00
Gary Gregory d408ce68ac Add CartesianProductIterator #509 2024-09-01 17:48:44 -04:00
Oleksii PELYKH 98bf6432ef [COLLECTIONS-858] CartesianProductIterator 2024-09-01 17:45:45 -04:00
Gary Gregory 3f7cb39b6d Add HashBag.HashBag(Iterable)
- Add TreeBag.TreeBag(Iterable)
2024-09-01 17:24:20 -04:00
Gary Gregory 7e81d81962 Reimplement the package-private CollectionUtils.CardinalityHelper using
Bags instead of custom Maps
2024-09-01 17:18:05 -04:00
Gary Gregory a91ae587a2 Use Java 8's Map.getOrDefault()
Javadoc
2024-09-01 16:12:14 -04:00
Gary Gregory e99c2aeb9f Whitespace 2024-09-01 16:07:49 -04:00
Gary Gregory 94657f5b91
Bump org.easymock:easymock from 5.3.0 to 5.4.0 #521 2024-09-01 16:01:10 -04:00
dependabot[bot] a751f34589 Bump org.easymock:easymock from 5.3.0 to 5.4.0
Bumps [org.easymock:easymock](https://github.com/easymock/easymock) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/easymock/easymock/releases)
- [Changelog](https://github.com/easymock/easymock/blob/master/ReleaseNotes.md)
- [Commits](https://github.com/easymock/easymock/compare/easymock-5.3.0...easymock-5.4.0)

---
updated-dependencies:
- dependency-name: org.easymock:easymock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 16:00:22 -04:00
Gary Gregory 77faa5be8f Add CollectionUtils.duplicate[List|Set]
- Add CollectionUtils.duplicateList(Collection<E>)
- Add CollectionUtils.duplicateSequencedSet(Collection<E>)
- Add CollectionUtils.duplicateSet(Collection<E>)
2024-09-01 11:01:45 -04:00
Gary Gregory fa76c00a4f Inline single use local variable 2024-08-31 17:34:29 -04:00
dependabot[bot] deadbda8b7 Bump github/codeql-action from 3.26.4 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.4 to 3.26.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f0f3afee80...4dd16135b6)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-30 08:14:52 -04:00
Gary Gregory a80bffea20
Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 #535 2024-08-29 17:45:49 -04:00
dependabot[bot] 6fd07ca044 Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0
Bumps org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 17:45:11 -04:00
Gary Gregory e319d10a54
Bump org.apache.commons:commons-parent from 73 to 74 #534 2024-08-29 08:08:09 -04:00
dependabot[bot] f552ac7c71 Bump org.apache.commons:commons-parent from 73 to 74
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 73 to 74.
- [Changelog](https://github.com/apache/commons-parent/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-parent/commits)

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 08:07:39 -04:00