Yes, `val extraOpts = command.extraJavaOptions.map(Utils.splitCommandString).getOrElse(Seq())`  is better