
org.sonar.l10n.java.rules.java.S923.html Maven / Gradle / Ivy
The newest version!
Why is this an issue?
As stated per effective java :
Varargs methods are a convenient way to define methods that require a variable number of arguments, but they should not be overused. They can
produce confusing results if used inappropriately.
Noncompliant code example
void fun ( String... strings ) // Noncompliant
{
// ...
}
Resources
- CERT, DCL57J -
Avoid ambiguous overloading of variable arity methods
© 2015 - 2025 Weber Informatics LLC | Privacy Policy