Commit Graph

4603 Commits

Author SHA1 Message Date
Gary Gregory 37a660d2b4 Internal refactoring 2024-10-05 17:09:07 -04:00
Gary Gregory 80429d4303 Internal refactoring 2024-10-05 16:52:22 -04:00
Gary Gregory fd1ff1d862 Javadoc 2024-10-05 16:37:53 -04:00
Gary Gregory 7f7fa0faa6 Add BloomFilterExtractorTest.testFromBloomFilterArray()
Enable BloomFilterExtractorTest.testFlattenEmpty()
2024-10-05 16:26:46 -04:00
Gary Gregory 6d86b4bde6 Improve WrappedBloomFilterTest
All tests now assert copy() the same way
2024-10-05 15:47:27 -04:00
Gary Gregory caa771abcd BloomFilterExtractor.flatten() should throw an exception instead of
returning null
2024-10-05 15:41:43 -04:00
Gary Gregory 730d972cde Parameterize testCopy() 2024-10-05 10:05:36 -04:00
Gary Gregory 1f7cff826c [COLLECTIONS-700] Add ConcurrentReferenceHashMap 2024-10-05 09:48:36 -04:00
Gary Gregory 43a4719d23 Add missing test AbstractBloomFilterTest.testCopy() 2024-10-04 11:35:12 -04:00
Gary Gregory 653fb5a879 Whitespace 2024-10-04 11:34:51 -04:00
Gary Gregory ba287b7c22 Javadoc
Whitespace
2024-10-04 11:26:13 -04:00
Gary Gregory c5e5f978db Add BloomFilterExtractorTest 2024-10-04 10:52:40 -04:00
Gary Gregory 4b5ba11431 Whitespace 2024-10-04 10:10:29 -04:00
Gary Gregory 7d42c3f961 Avoid an NPE in test code and let the domain classes decide what to do
when there is no supplier set.
2024-10-04 10:05:10 -04:00
Gary Gregory d9d94e4631 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2024-10-04 09:38:19 -04:00
Gary Gregory 2191713fdd Refactor internals for org.apache.commons.collections4.bloomfilter
Create new package-private methods to refactor commons code patterns
2024-10-04 09:38:10 -04:00
dependabot[bot] 327bf8b597 Bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-04 08:20:20 -04:00
dependabot[bot] 6d9978ee8c Bump github/codeql-action from 3.26.9 to 3.26.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.9 to 3.26.11.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](461ef6c76d...6db8d6351f)

---
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-10-04 08:20:07 -04:00
Gary Gregory 23379c1ff9 Javadoc 2024-10-04 07:50:35 -04:00
Gary Gregory 43e3abc02d Add @SuppressWarnings 2024-10-04 07:43:01 -04:00
Gary Gregory 6f016c52a2 Add @SuppressWarnings 2024-10-04 07:42:22 -04:00
Gary Gregory fab4178a52 Fix typp in test class name 2024-10-03 19:59:55 -04:00
Gary Gregory b4def014b9 Fix typp in test class name 2024-10-03 18:15:31 -04:00
Gary Gregory 5c2eb48be6 Java 23 build is no longer experimental 2024-10-03 17:43:22 -04:00
Gary Gregory 1d1bab626c Checkstyle OK locally but not on GH CI
Reformat experiment
2024-10-03 17:43:12 -04:00
Gary Gregory 8c34a14222 Add and fix Checkstyle ParenPad 2024-10-03 17:38:48 -04:00
Gary Gregory a8a0bba75e Add and fix Checkstyle ParenPad 2024-10-03 17:38:44 -04:00
Gary Gregory 0dfce09f26 Add Checkstyle MethodParamPad 2024-10-03 17:32:17 -04:00
Gary Gregory 6b7e51a6e4 Add and fix Checkstyle NoWhitespaceBeforeCaseDefaultColon 2024-10-03 17:29:55 -04:00
Gary Gregory 706178d022 Remove extra whitespace 2024-10-03 15:50:26 -04:00
Gary Gregory 3db85e7ebc Remove extra whitespace 2024-10-03 15:42:53 -04:00
Gary Gregory f92f427c71 Remove extra whitespace 2024-10-03 13:40:04 -04:00
Gary Gregory 08b4cdb884 Refactor tests to allow more flexibility in subclasses
For Apache Commons BeanUtils bean map tests
2024-10-03 11:32:18 -04:00
Gary Gregory a685fae36f Complete AbstractMapTest.testMapComputeIfPresent() implementation 2024-10-03 09:34:52 -04:00
Gary Gregory 563034f78d Javadoc 2024-10-03 09:29:11 -04:00
Gary Gregory 65ce14b757 Fix test: compute if present is a put. 2024-10-03 09:17:58 -04:00
Gary Gregory 25ea554df8 Javadoc
Remove unnecessary parentheses
2024-10-03 09:08:55 -04:00
Gary Gregory 7521b9ce29 Use generics to parameterize Map tests
- More precise typing for Map tests
- Helpful for testing BeanMap in Apache Commons BeanUtils
- Javadoc
2024-10-03 08:55:40 -04:00
Gary Gregory 7bc8ae8650 Make AbstractMapTest.testReplaceAll() more flexible for subclasses 2024-10-03 07:30:05 -04:00
Gary Gregory cb2a91a29e Javadoc 2024-10-01 17:22:24 -04:00
Gary Gregory 5711be7809 Make test more readable and maintainable, and less verbose
- Use JUnit 5 APIs
- Be consistent throughout tests
2024-10-01 09:42:06 -04:00
Gary Gregory 20a877f04a Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2024-09-29 19:33:01 -04:00
Gary Gregory 0cdb221276 Site and bloom filters 2024-09-29 19:32:53 -04:00
Gary Gregory 4bd1ba717e Normalize Javadoc 2024-09-29 18:53:53 -04:00
Gary Gregory 79a11f43f3
Bump org.apache.commons:commons-parent from 75 to 76 #550 2024-09-28 20:13:30 -04:00
dependabot[bot] 89e5f46070 Bump org.apache.commons:commons-parent from 75 to 76
Bumps [org.apache.commons:commons-parent](https://github.com/apache/commons-parent) from 75 to 76.
- [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-28 20:12:52 -04:00
Gary Gregory 1fb78dd2ba Pin GitHub action versions 2024-09-28 16:19:24 -04:00
Gary Gregory 0fa7d7323f Add Add ConcurrentReferenceHashMap 2024-09-28 15:45:24 -04:00
Gary Gregory 6d188523fb Better AbstractMapTest.testMapContainsValue()
Add TODO in DualTreeBidiMap2Test.isAllowNullValueGet()
2024-09-28 10:17:09 -04:00
Gary Gregory c6289711f2 Better AbstractMapTest.testMapComputeIfPresent() 2024-09-28 09:40:42 -04:00