Commit Graph

3870 Commits

Author SHA1 Message Date
Gary Gregory 1fb9183c70 Use Arrays.copyOf() 2022-12-28 16:20:57 -05:00
Gary Gregory 575d2c6a40
Remove use of JUnit4 junit.framework.Test class #371 2022-12-27 08:44:13 -05:00
Piyush Sagar b860d0ce3a
COLLECTIONS-806: Remove use of JUnit4 junit.framework.Test class (#371)
* COLLECTIONS-806: removed references of JUnit4 Test class

- Removed references of junit.framework.Test
- Removed unused method BulkTest.makeSuite()

* COLLECTIONS-806: removed unused imports
2022-12-27 08:42:57 -05:00
dependabot[bot] 511d171516
Bump actions/cache from 3.0.11 to 3.2.1 (#370)
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.2.1)

---
updated-dependencies:
- dependency-name: actions/cache
  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-12-23 08:22:11 -05:00
dependabot[bot] a8b2008f29
Bump ossf/scorecard-action from 2.1.0 to 2.1.2 (#369)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](937ffa90d7...e38b1902ae)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  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-12-23 08:21:58 -05:00
Gary Gregory 31e2dcb9da
Bump commons-parent from 54 to 55 #368 2022-12-16 11:19:48 -05:00
dependabot[bot] 084af338a9
Bump commons-parent from 54 to 55 (#368)
Bumps [commons-parent](https://github.com/apache/commons-parent) from 54 to 55.
- [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-12-16 11:17:57 -05:00
dependabot[bot] 34e9228ad8 Bump actions/setup-java from 3.8.0 to 3.9.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.8.0...v3.9.0)

---
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>
2022-12-16 14:30:36 +01:00
dependabot[bot] 65b50fc7d1
Bump ossf/scorecard-action from 2.0.6 to 2.1.0 (#366)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.1.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...937ffa90d7)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  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-12-16 08:27:37 -05:00
dependabot[bot] bf34d0a564
Bump actions/checkout from 3.1.0 to 3.2.0 (#365)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-12-16 08:25:31 -05:00
dependabot[bot] e4430a9613
Bump actions/setup-java from 3.6.0 to 3.8.0 (#364)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.8.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.8.0)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 07:12:32 -05:00
Gary Gregory 37218b8c85 Undo Bump actions/setup-java from 3.6.0 to 3.7.0 2022-12-06 06:50:41 -05:00
Gary Gregory cfd5b6e567 Bump actions/setup-java from 3.6.0 to 3.7.0 #126 2022-12-01 22:02:23 -05:00
aherbert a1de787172 Collections-817: Update estimateN, estimateIntersection and
estimateUnion

Reworked calculations and updated javadoc.

Added documentation concerning n, intersection, and union calculations
in Shape class.

Modified estimatedIntersection to account for infinite values in
calculations.

This commit addresses a merge error that omitted all fixes  intended for
the changes in 64ed061e6a
2022-11-30 16:30:15 +00:00
aherbert 5bcab481f7 Remove public keyword from package level test members 2022-11-30 16:07:08 +00:00
aherbert d879329cd3 Remove empty line 2022-11-30 16:02:38 +00:00
aherbert 23677eb23e Javadoc comment typo 2022-11-30 16:00:26 +00:00
Claudenw 64ed061e6a Collections-817: Update estimateN, estimateIntersection and
estimateUnion

Reworked calculations and updated javadoc.

Added documentation concerning n, intersection, and union calculations
in Shape class.

Modified estimatedIntersection to account for infinite
values in calculations.

Closes #358
2022-11-30 15:59:52 +00:00
Gary Gregory 7b2c1b2b3e
Update changes.xml 2022-11-26 15:32:58 -05:00
Arturo Bernal 954d222aa6
Use Java style array decelerations (#362) 2022-11-26 15:32:07 -05:00
Gary Gregory 81a498b116 Inherit PMD plugin configuration of PMD from parent POM 2022-11-26 07:28:31 -05:00
Gary Gregory 8279d9ba46 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2022-11-26 07:26:41 -05:00
Gary Gregory 8d99d5f9bb Bump pmd from 6.51.0 to 6.52.0 2022-11-26 07:26:28 -05:00
Gary Gregory 6031f5395b Reuse constants 2022-11-25 09:19:47 -05:00
Gary Gregory a8c0df14ca Sort imports 2022-11-25 09:15:28 -05:00
Gary Gregory 5a5d0cb5ed Add GHitHub robots file 2022-11-19 17:53:11 -05:00
yannizhou05 37cd2d8dc1
Fix flaky test in CollectionUtilsTest (#360) 2022-11-15 18:35:41 +00:00
Claude Warren d4a5f9f5f5
Collections-837: Remove HasherCollection
* Removed HasherCollection.

* Moved multiple hashing functions into TestingHashers.
2022-11-12 16:35:40 +00:00
aherbert 69cad46a92 Whitespace formatting 2022-11-09 12:50:06 +00:00
Gary Gregory 9bbfad5db3 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-collections.git 2022-11-07 08:39:36 -05:00
Gary Gregory fd09ecccbd Javadocs and comments
Normalize spelling to "behavior"
2022-11-07 08:39:21 -05:00
Alex Herbert 2b3fae5aaa Use method reference 2022-11-07 09:15:27 +00:00
Gary Gregory d5b38edf52 Format tweak 2022-11-06 11:55:02 -05:00
Gary Gregory 882f005452 Enable PMD check 2022-11-06 11:51:29 -05:00
Gary Gregory 12bdb33dc0 Remove unnecessary parens 2022-11-06 11:50:09 -05:00
Gary Gregory b9c22565fe Javadoc 2022-11-06 11:42:00 -05:00
Gary Gregory fe28f8689e PMD: AbstractReferenceMap.WeakRef implements hashCode() but not equals() 2022-11-06 11:41:40 -05:00
Gary Gregory d22eb8951b PMD: AbstractReferenceMap.SoftRef implements hashCode() but not equals() 2022-11-06 11:35:53 -05:00
Gary Gregory e84ff4dff0 PMD: No need to nest
- PMD: No need to just call super
- PMD: Simplify ternary expression to expression
- PMD: Ignore empty loop warning
- Fix import
2022-11-06 11:32:13 -05:00
Gary Gregory 5848c936b7 PMD: Use direct access 2022-11-06 11:16:28 -05:00
Gary Gregory 17db5ba533 Simplify ignorance of caught exception 2022-11-06 11:13:29 -05:00
Gary Gregory 8e300bdec2 PMD: Use direct access 2022-11-06 11:09:25 -05:00
Gary Gregory e377b46bc8 These test classes can be static 2022-11-06 10:55:42 -05:00
Gary Gregory 4033393aaf Call to super is redundant 2022-11-06 10:54:50 -05:00
Gary Gregory 62b1cc6354 Use lambdas 2022-11-06 10:52:36 -05:00
Gary Gregory 8e4c50f928 Use Java 5 for each loop 2022-11-06 10:50:43 -05:00
Gary Gregory 0801d0d4ca Simpler lambdas 2022-11-06 10:46:33 -05:00
Gary Gregory e37d375d83 Add missing @Override
Use diamonds
Use final
2022-11-06 10:42:35 -05:00
Gary Gregory 8618b108f8 Add @SuppressWarnings and tweak formatting 2022-11-06 10:18:01 -05:00
Gary Gregory 5286ebe2c6
Fix minor typos #323 2022-11-06 09:57:27 -05:00