Skip to content

Commit 5d75044

Browse files
committed
seq
1 parent b68bccc commit 5d75044

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ object CommandLineUtils {
3838
confKeyValue(key, value, confOption).mkString(" ")
3939

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

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

0 commit comments

Comments
 (0)