ListBuffer is a scala collection scala.collection.mutable.ListBuffer
It is accepted here because you import JavaConversions._ which automatically converts ListBuffer into a java List.
That means you currently do two wrapping : Buffer → ListBuffer → java.util.List.
You can drop the ListBuffer(), JavaConversions will still implicitly convert to java.util.List