4520 Commits

Author SHA1 Message Date
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
Gary Gregory
b4c668d306 Bump MathJax from 2.7.2 to 2.7.9 2024-08-26 07:14:39 -04:00
Gary Gregory
f5337f18c9 LayerManager.Builder implements Supplier 2024-08-25 22:11:50 -04:00
Gary Gregory
edcc524215 Push down null checks
- Use more language neutral exception message
- Use Objects.requireNonNull()
2024-08-25 19:05:35 -04:00
Gary Gregory
c61faccf9c Javadoc 2024-08-25 18:55:28 -04:00
Gary Gregory
b2cea54a2c Bump version properties 2024-08-25 18:37:00 -04:00
Gary Gregory
7bab3d26f2 Javadoc 2024-08-25 18:36:47 -04:00
Gary Gregory
d3271b9b3f Can't rename protected instance variable
- Javadoc: Better @link
2024-08-25 18:24:09 -04:00
Gary Gregory
2790d5c267 Fix Java @since tag 2024-08-25 18:12:18 -04:00
Gary Gregory
e6b8bbd08f Javadoc
- Objects.requireNonNull()
- Whitespace
2024-08-25 18:12:05 -04:00
Gary Gregory
a496f93aa0 Javadoc
Better instance variable name
2024-08-25 17:54:46 -04:00
Gary Gregory
2ae865abc2 Javadoc 2024-08-25 17:54:17 -04:00
Gary Gregory
a06dee1b39 Use java.time 2024-08-25 16:59:49 -04:00
Gary Gregory
d243ff4fde Javadoc 2024-08-25 16:39:51 -04:00
Gary Gregory
bd0dc26e35 Better instance variable name 2024-08-25 16:36:46 -04:00
Gary Gregory
e1068e8c7a Use final 2024-08-25 16:32:14 -04:00
Gary Gregory
552c114d4b Better parameter names 2024-08-25 16:31:55 -04:00
Gary Gregory
7023b20fbe Better parameter names 2024-08-25 16:31:49 -04:00
Gary Gregory
e75f6553ad Better instance variable name 2024-08-25 16:22:25 -04:00
Gary Gregory
e542eca84a Better parameter names 2024-08-25 16:22:02 -04:00
Gary Gregory
c788e536a9 Remove redundant keywords 2024-08-25 16:18:24 -04:00
Gary Gregory
6ae173285b Normalize spelling 2024-08-25 12:13:57 -04:00