core/play/src/main/java/play/i18n/MessagesApi.java
private static Seq<Object> convertArgsToScalaBuffer(final Object... args) {
    return scala.collection.JavaConverters.asScalaBufferConverter(wrapArgsToListIfNeeded(args))
        .asScala()
        .toList();
  }
private static Seq<Object> convertArgsToScalaBuffer(final Object... args) {
    return scala.collection.JavaConverters.asScalaBufferConverter(wrapArgsToListIfNeeded(args))
        .asScala()
        .toList();
  }
private static Seq < Object > convertArgsToScalaBuffer ( final Object ... args ) { return scala . collection . JavaConverters . asScalaBufferConverter ( wrapArgsToListIfNeeded ( args ) ) . asScala ( ) . toList ( ) ; }
Converts the varargs to a scala buffer, takes care of wrapping varargs into a intermediate list
if necessary

@param args the message arguments
@return scala type for message processing
Converts the varargs to a scala buffer takes care of wrapping varargs into a intermediate list if necessary