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
{{ message }}
Repository navigation
[java] UnnecessaryLocalBeforeReturn: Enhance by checking usages #240
We should probably drop the requirement for the declaration and the return being in consecutive lines, and simply check the number of uses of the variable being > 1. This also means no need for the current assert lookup.
Activity
[java] UnnecessaryLocalBeforeReturn checks usages
[java] UnnecessaryLocalBeforeReturn checks usages
Update changelog, fixes pmd#240
Update changelog, refs pmd#310 refs pmd#240