Skip to content

[java] Fix FP on UnnecessaryLocalBeforeReturn - #294

Merged
adangel merged 1 commit into
pmd:masterfrom
jsotuyod:issue-282
Mar 18, 2017
Merged

adangel merged 1 commit into
pmd:masterfrom
jsotuyod:issue-282

Conversation

@jsotuyod

Copy link
Copy Markdown
Member

 - If the local is initialized using another variable that is later
used, don't consider it a violation. Assume the later use is destructive
and the order is important.
 - Fixes pmd#282
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a:bug PMD crashes or fails to analyse a file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants