You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pmd: configure UnnecessaryLocalBeforeReturn rule to catch more cases.
Quote from https://pmd.github.io/pmd-5.6.0/overview/changelog.html:
"The Java rule UnnecessaryLocalBeforeReturn (ruleset java-design) now has
a new property statementOrderMatters. It is enabled by default to stay
backwards compatible. But if this property is set to false, this rule no
longer requires the variable declaration and return statement to be on
consecutive lines. Any variable that is used solely in a return
statement will be reported."
Should be in 455eb7e commit.
No functional changes.
0 commit comments