I'm converting some of the Elasticsearch Java API to Scala. There are some methods in Java that take a variable of type String... indices
, so I'm trying to provide a Scala function with a variable of type indices: String*
, that encapsulates that Java method.
I didn't find a way to convert String*
to String...
.
I appreciate your help.