rspec/rules/S923/java/rule.adoc
2022-02-04 16:28:24 +00:00

17 lines
352 B
Plaintext

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
[source,java]
----
void fun ( String... strings ) // Noncompliant
{
// ...
}
----