Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@oowekyala
Copy link
Member

@oowekyala oowekyala commented Sep 6, 2025

See #6006 (comment)

This uses type inference to resolve the more complicated cases around generics.

Describe the PR

Related issues

Ready?

  • Missing unit tests for InferenceCtx around ivars with null tvar
  • Missing unit tests for CollectionTypeMismatch for new cases that we can check
  • Disable checkstyle MissingBreakInSwitch as our PMD rule NonExhaustiveSwitch is better, it checks for exhaustivity. Disable checkstyle MissingSwitchDefault rule build-tools#98
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@pmd-actions-helper
Copy link
Contributor

pmd-actions-helper bot commented Sep 6, 2025

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 7 new violations, 0 new errors and 0 new configuration errors,
removes 1 violations, 0 errors and 0 configuration errors.

Regression Tester Report

(comment created at 2025-10-21 09:43:03+00:00 for decf795)

adangel added a commit to pmd/build-tools that referenced this pull request Oct 16, 2025
This check caused a checkstyle failure on
pmd/pmd#6037 even though the switch is
exhaustive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants