rspec/rules/S923/java/rule.adoc

14 lines
342 B
Plaintext
Raw Normal View History

2020-06-30 12:50:59 +02:00
As stated per effective java :
{quote}
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.
{quote}
== Noncompliant Code Example
----
void fun ( String... strings ) // Noncompliant
{
// ...
}
----