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
{
// ...
}