DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.46k stars 536 forks source link

Fix compiler warnings #3714

Closed nscuro closed 2 months ago

nscuro commented 2 months ago

Description

Fixes various compiler warnings.

Addressed Issue

N/A

Additional Details

N/A

Checklist

codacy-production[bot] commented 2 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.03% (target: -1.00%) :white_check_mark: 86.84% (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (3346907d707ffd75d758a7be844a6ddca8cbafb9) | 22025 | 16736 | 75.99% | | | Head commit (6ff6a16c3afb1fe6e972d5fee40ea657547445ef) | 22015 (-10) | 16735 (-1) | 76.02% (**+0.03%**) | **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 (#3714) | 38 | 33 | **86.84%** | **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 will stop sending the deprecated coverage status from June 5th, 2024. Learn more