Skip to content

[java] Properly handle enums with ignore identifiers - #124

Merged
adangel merged 2 commits into
pmd:masterfrom
jsotuyod:cpd-npe
Nov 14, 2016
Merged

adangel merged 2 commits into
pmd:masterfrom
jsotuyod:cpd-npe

Conversation

@jsotuyod

@jsotuyod jsotuyod commented Nov 9, 2016

Copy link
Copy Markdown
Member
  • Right now it throws an NPE
  • Having fixed the NPE, it threw an ArrayIndexOutOfBounds
  • Finally, it was just not working as expected

@jsotuyod

Copy link
Copy Markdown
Member Author

This one should go to branches 5.5.x and master. I already updated the changelog and created a related issue to link to.

 - Right now it throws an NPE
 - Having fixed the NPE, it threw an ArrayIndexOutOfBounds
 - Finally, it was just not working as expected
 - Fixes https://sourceforge.net/p/pmd/bugs/1542/
@adangel

adangel commented Nov 14, 2016

Copy link
Copy Markdown
Member

Looks good! I'll merge it to master and cherry-pick it to 5.5.x. Thanks!

@adangel adangel added the a:bug PMD crashes or fails to analyse a file. label Nov 14, 2016
@adangel
adangel merged commit ebb3363 into pmd:master Nov 14, 2016
@jsotuyod
jsotuyod deleted the cpd-npe branch November 15, 2016 00:32
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