We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b68bccc commit 5d75044Copy full SHA for 5d75044
kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala
@@ -38,11 +38,11 @@ object CommandLineUtils {
38
confKeyValue(key, value, confOption).mkString(" ")
39
40
def confKeyValues(configs: Iterable[(String, String)]): Iterable[String] =
41
- configs.flatMap { case (k, v) => confKeyValue(k, v) }.toStream
+ configs.flatMap { case (k, v) => confKeyValue(k, v) }.toSeq
42
43
/**
44
* Generate classpath option by assembling the classpath entries with "-cp" prefix
45
*/
46
def genClasspathOption(classpathEntries: Iterable[String]): Iterable[String] =
47
- Stream(CP, classpathEntries.mkString(File.pathSeparator))
+ Seq(CP, classpathEntries.mkString(File.pathSeparator))
48
}
0 commit comments