I\'m trying to use the java jcommander library from Scala. The java JCommander class has multiple constructors:
public JCommander(Object object) publi
You can call the constructor with varags, but pass an empty list of varags.
(Of course, if you know that constructing JCommander with empty varags will produce the same result as calling the overloaded constructor (or method) without vargs)
jCommander = new JCommander(cmdLineArgs, Nil: _*)