CycloneDX / cyclonedx-core-java

CycloneDX SBOM Model and Utils for Creating and Validating BOMs
https://cyclonedx.org/
Apache License 2.0
81 stars 59 forks source link

Make Vulnerability objects comparable by value #464

Closed SaberStrat closed 1 month ago

SaberStrat commented 2 months ago

Enables comparison of two Vulnerability objects by their fields' values.

Implements #463

nscuro commented 1 month ago

@SaberStrat FYI the build failures should be fixed by #469, I am currently waiting for a review on that. Once merged, you can rebase your branch and the build will work.

VinodAnandan commented 1 month ago

@SaberStrat thank you for your PR. The https://github.com/CycloneDX/cyclonedx-core-java/pull/469 PR has been merged. Could you please rebase your PR?

SaberStrat commented 1 month ago

Rebased for #469

codacy-production[bot] commented 1 month ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: -0.89% :white_check_mark: 0.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (31c2226af927622197a37893fb0d686829629430) | 5956 | 4400 | 73.88% | | | Head commit (8b67e69e2972aa2810234dbb17c40c753229ebb6) | 6029 (+73) | 4400 (+0) | 72.98% (**-0.89%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#464) | 73 | 0 | **0.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more