Commit Graph

3978 Commits

Author SHA1 Message Date
Partha-SUST16 30a9ab835d Fix flaky test failure in SynchronizedBagTest#testCollectionToArray2
Closes #336
2022-09-23 12:48:10 +01:00
Gary Gregory 16710abc9a
Bump commons-parent from 53 to 54 #339 2022-09-22 17:21:28 -04:00
dependabot[bot] 47690503b7
Bump commons-parent from 53 to 54 (#339)
Bumps [commons-parent](https://github.com/apache/commons-parent) from 53 to 54.
- [Release notes](https://github.com/apache/commons-parent/releases)
- [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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 17:19:39 -04:00
Gary Gregory 79077e8efd
Bump commons.junit.version from 5.9.0 to 5.9.1 #338 2022-09-22 16:45:59 -04:00
dependabot[bot] e84a76918e
Bump commons.junit.version from 5.9.0 to 5.9.1 (#338)
Bumps `commons.junit.version` from 5.9.0 to 5.9.1.

Updates `junit-jupiter-api` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-jupiter-engine` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-jupiter-params` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-vintage-engine` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 16:44:18 -04:00
Gary Gregory 42ce1e9d0e Use GitHub cache for CodeQL 2022-09-22 08:42:05 -04:00
Gary Gregory a6ee7188d0 Add ossf/scorecard-action badge to readme 2022-09-14 11:05:24 -04:00
Gary Gregory d64c9f93e5 Add same scorecards-analysis.yml as Apache Log4j (except for branches) 2022-09-12 09:52:33 -07:00
Alex Herbert 3bc37dcd6b Update IndexProducerTest to test the behaviour
IndexProducers are tested for consistency between the indices output by
forEach and asIndexArray.

In addition the output methods can be tested that the indices are
ordered or distinct.
2022-09-10 10:02:41 +01:00
Alex Herbert 2a6ec0fca0 Simplify random indices tests
Use streams to generate arrays.

Use BitSet to create a unique set of indices.
2022-09-10 10:02:41 +01:00
Alex Herbert 5920f32cd8 Fix typo 2022-09-10 10:02:41 +01:00
Claude Warren, Jr 9a58c1bbdf Collections-763: Remove BloomFilter constructors that create initial entry 2022-09-10 10:02:41 +01:00
dependabot[bot] 879d382703 Bump maven-pmd-plugin from 3.18.0 to 3.19.0
Bumps [maven-pmd-plugin](https://github.com/apache/maven-pmd-plugin) from 3.18.0 to 3.19.0.
- [Release notes](https://github.com/apache/maven-pmd-plugin/releases)
- [Commits](https://github.com/apache/maven-pmd-plugin/compare/maven-pmd-plugin-3.18.0...maven-pmd-plugin-3.19.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-10 11:34:33 +12:00
Gary Gregory e20aad0753 Bump actions/checkout from 3 to 3.0.2. 2022-09-06 09:20:42 -07:00
Gary Gregory 49c399b143
Bump commons.pmd-impl.version from 6.48.0 to 6.49.0 #333 2022-09-02 08:14:46 -04:00
dependabot[bot] d1f0af5f4b
Bump commons.pmd-impl.version from 6.48.0 to 6.49.0 (#333)
Bumps `commons.pmd-impl.version` from 6.48.0 to 6.49.0.

Updates `pmd-core` from 6.48.0 to 6.49.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.48.0...pmd_releases/6.49.0)

Updates `pmd-java` from 6.48.0 to 6.49.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.48.0...pmd_releases/6.49.0)

Updates `pmd-javascript` from 6.48.0 to 6.49.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.48.0...pmd_releases/6.49.0)

Updates `pmd-jsp` from 6.48.0 to 6.49.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.48.0...pmd_releases/6.49.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-02 08:12:06 -04:00
Gary Gregory a6e20efe62 Rename type parameter 2022-09-01 13:43:34 -04:00
Gary Gregory 594d772a93 Use GAV coordinates Maven Central coordinates to make sure to pick up
the latest
2022-09-01 10:34:54 -04:00
Gary Gregory 94556b87d8 Refer to master branch only and drop reference to trunk branch name 2022-09-01 07:51:46 -04:00
Gary Gregory bac2d7545f Update code coverage badge and link 2022-08-30 16:46:38 -04:00
aherbert 84fb830481 Formatting 2022-08-30 15:18:38 +01:00
Gary Gregory 955f7ab1eb Javadoc @link tags do not need to use a FQCN for classes in java.lang 2022-08-29 07:35:40 -04:00
Gary Gregory b605686f52 Javadoc @see tags do not need to use a FQCN for classes in java.lang 2022-08-29 07:06:39 -04:00
Gary Gregory 0f3ad2284e Fix typo independant -> independent 2022-08-28 12:14:07 -04:00
Gary Gregory 92f9d4b863 Add CodeQL badge 2022-08-27 15:06:20 -04:00
Gary Gregory 6f74aef97b Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2022-08-26 08:12:49 -04:00
Gary Gregory 25328b27f9 Update README to use the default Maven goal 2022-08-26 08:12:42 -04:00
aherbert 7bf71f59b8 Use private inner class 2022-08-24 13:23:19 +01:00
aherbert 33489b9114 Use diamond operator 2022-08-24 13:23:19 +01:00
Gary Gregory d7f2a7a377 Bump maven-checkstyle-plugin 3.1.0 to 3.2.0. 2022-08-24 08:11:07 -04:00
Gary Gregory bf0970a71f Bump maven-pmd-plugin from 3.17.0 to 3.18.0 2022-08-24 08:08:18 -04:00
Gary Gregory f1e2c878b8 [COLLECTIONS-833] Intermittent failure in EmptyPropertiesTest
Ignore second line of properties files since contain a timestamp, which
is a problem when the time ticks to the next second within some tests
2022-08-24 08:01:43 -04:00
aherbert 6ba199c691 Removed obsolete file 2022-08-23 11:31:25 +01:00
aherbert bf836c8df0 Test code cleanup
Use static

Remove incorrect javadoc tags

Add javadoc to return tag
2022-08-23 11:30:17 +01:00
Claude Warren, Jr 5a31023eae COLLECTIONS-831: Add BloomFilter clear() method 2022-08-23 11:27:24 +01:00
Gary Gregory fe783da49f Bump actions/cache from 3.0.7 to 3.0.8 2022-08-22 15:19:48 -04:00
Claude Warren 9999261d27
Collections-818: convert to characteristics flag (#329) 2022-08-16 09:54:33 +01:00
Gary Gregory 032e0eade0 Bump actions/cache from 3.0.6 to 3.0.7 2022-08-12 07:12:03 -04:00
Claude Warren 2af77aaa6b
Collections 827: Add tests using or, and and xor with different length filters. (#328)
* added missing tests
* simplified test framework
2022-08-10 10:27:24 +01:00
Claude Warren df091173cd
Collections-824: Optimize SimpleHasher.forEachIndex and SimpleHasher name change (#320)
* Renamed simple hasher as EnhancedDoubleHasher

* Added test for number of bits < number of hash functions

* Added IncrementingHasher for testing and updated tests

* Added test for number of bits < number of hash functions

* Fixed uniqueIndices implementation

Added default implementation.
Added test for unique filter working.
2022-08-08 08:44:37 +01:00
dependabot[bot] a43e0245ba Bump commons.pmd-impl.version from 6.47.0 to 6.48.0
Bumps `commons.pmd-impl.version` from 6.47.0 to 6.48.0.

Updates `pmd-core` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-java` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-javascript` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

Updates `pmd-jsp` from 6.47.0 to 6.48.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.47.0...pmd_releases/6.48.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 10:06:09 +12:00
Gary Gregory 5b970c8c45 Bump actions/cache from 3.0.5 to 3.0.6 2022-08-05 08:31:06 -04:00
Gary Gregory b12db43052 Bump actions/cache from 3.0.5 to 3.0.6 2022-08-05 08:30:24 -04:00
Gary Gregory 1d02aa5572 Update GitHub builds to use Temurin 2022-07-29 08:37:27 -04:00
Gary Gregory 0987f105e9
Bump commons.junit.version from 5.8.2 to 5.9.0 #324 2022-07-29 08:20:45 -04:00
dependabot[bot] 1c8af3f622
Bump commons.junit.version from 5.8.2 to 5.9.0 (#324)
Bumps `commons.junit.version` from 5.8.2 to 5.9.0.

Updates `junit-jupiter-api` from 5.8.2 to 5.9.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

Updates `junit-jupiter-engine` from 5.8.2 to 5.9.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

Updates `junit-jupiter-params` from 5.8.2 to 5.9.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

Updates `junit-vintage-engine` from 5.8.2 to 5.9.0
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.junit.jupiter:junit-jupiter-engine
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.junit.jupiter:junit-jupiter-params
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.junit.vintage:junit-vintage-engine
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 08:17:35 -04:00
Claude Warren ebc66db426
Merge pull request #315 from Claudenw/remove_merge_in_place
replaced merge with old mergeInPlace
2022-07-28 12:17:28 +01:00
Gary Gregory ef728ec96b Bump actions/cache 3.0.4 to 3.0.5 2022-07-15 08:32:27 -04:00
Gary Gregory 29d79003ea Use for-each loop 2022-07-09 10:09:02 -04:00
Claude Warren c811f541aa
Merge pull request #317 from Claudenw/fix_collections_821
moved IndexFilter to its own file.
2022-07-06 16:52:06 +01:00