Skip to content

Conversation

adangel
Copy link
Member

@adangel adangel commented Sep 12, 2025

Bump PMD from 7.16.0 to 7.17.0

Use replacement rules for deprecated rules:

  • UnnecessaryLocalBeforeReturn -> VariableCanBeInlined
  • UselessOperationOnImmutable -> UselessPureMethodCall

Enable new rules:

  • ExhaustiveSwitchHasDefault (refs Disable checkstyle MissingSwitchDefault rule #98)
    • Note that this rule is incompatible which checkstyle's MissingSwitchDefault
    • We already have the our PMD rule NonExhaustiveSwitch enabled, so it's save to remove checkstyle's rule
  • RelianceOnDefaultCharset
  • ModifierOrder
  • DanglingJavadoc
  • CollectionTypeMismatch
  • OverrideBothEqualsAndHashCodeOnComparable

* UnnecessaryLocalBeforeReturn -> VariableCanBeInlined
* UselessOperationOnImmutable -> UselessPureMethodCall
- ExhaustiveSwitchHasDefault (refs pmd#98)
- RelianceOnDefaultCharset
- ModifierOrder
- DanglingJavadoc
- CollectionTypeMismatch
- OverrideBothEqualsAndHashCodeOnComparable
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.

1 participant