Skip to content

Commit

Permalink
seq
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Nov 28, 2023
1 parent b68bccc commit 5d75044
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ object CommandLineUtils {
confKeyValue(key, value, confOption).mkString(" ")

def confKeyValues(configs: Iterable[(String, String)]): Iterable[String] =
configs.flatMap { case (k, v) => confKeyValue(k, v) }.toStream
configs.flatMap { case (k, v) => confKeyValue(k, v) }.toSeq

/**
* Generate classpath option by assembling the classpath entries with "-cp" prefix
*/
def genClasspathOption(classpathEntries: Iterable[String]): Iterable[String] =
Stream(CP, classpathEntries.mkString(File.pathSeparator))
Seq(CP, classpathEntries.mkString(File.pathSeparator))
}

0 comments on commit 5d75044

Please sign in to comment.