Skip to content

fix: raw type warning in ProcessReader#8324

Merged
nhumblot merged 1 commit intodependency-check:mainfrom
caglareker:fix/issue-8323-fix-raw-type-in-processreader
Feb 26, 2026
Merged

fix: raw type warning in ProcessReader#8324
nhumblot merged 1 commit intodependency-check:mainfrom
caglareker:fix/issue-8323-fix-raw-type-in-processreader

Conversation

@caglareker
Copy link
Copy Markdown

Adds explicit generic type parameter to the Processor argument in the startProcessor method. Raw types bypass compile-time type checking and can generate unchecked warnings. The method was already using Processor<InputStream> semantically, so making this explicit improves type safety.

Fixes #8323

Add explicit generic type parameter to Processor argument.
@boring-cyborg boring-cyborg Bot added the utils changes to utils label Feb 26, 2026
@jeremylong jeremylong changed the title Fix raw type warning in ProcessReader fix: raw type warning in ProcessReader Feb 26, 2026
Copy link
Copy Markdown
Collaborator

@nhumblot nhumblot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: thank you for your contribution!

@nhumblot nhumblot merged commit 4a03188 into dependency-check:main Feb 26, 2026
6 of 7 checks passed
@nhumblot nhumblot added this to the 12.2.1 milestone Feb 26, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

utils changes to utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix raw type in ProcessReader

3 participants