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
oowekyala
changed the title
[java] UnnecessaryVarargsArrayCreation should not warn when a method is overridden
[java] UnnecessaryVarargsArrayCreation should not warn when a method is overloaded
Jun 13, 2024
Affects PMD Version: 7.2.0
Rule: UnnecessaryVarargsArrayCreation
Please provide the rule name and a link to the rule documentation:
https://docs.pmd-code.org/latest/pmd_rules_java_bestpractices.html#unnecessaryvarargsarraycreation
Description:
Code Sample demonstrating the issue:
Expected outcome:
PMD reports a violation at line 3, but that's wrong. That's a false positive.
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]: Maven
The text was updated successfully, but these errors were encountered: