The following code triggers AvoidReassigningParameters PMD violation, while parameter is not being reassigned:
a(String... s) { s[0] = ""; }
Workaround: a(String[] s) { s[0] = ""; }
Thanks for the bug report. This will be fixed with version 5.3.2.
Commit: https://github.com/pmd/pmd/commit/357f206102fee7335d1ab05710b85953def9b4eb
Thanks a lot! I'm looking forward to 5.3.2.
Log in to post a comment.
Thanks for the bug report. This will be fixed with version 5.3.2.
Commit: https://github.com/pmd/pmd/commit/357f206102fee7335d1ab05710b85953def9b4eb
Thanks a lot! I'm looking forward to 5.3.2.