diff --git a/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala b/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala index 92ca3a52571..4956779ac81 100644 --- a/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala +++ b/kyuubi-util-scala/src/main/scala/org/apache/kyuubi/util/command/CommandLineUtils.scala @@ -19,10 +19,12 @@ package org.apache.kyuubi.util.command import java.io.File +import scala.util.matching.Regex + object CommandLineUtils { val CONF = "--conf" - val PATTERN_FOR_KEY_VALUE_ARG = "(.+?)=(.+)".r + val PATTERN_FOR_KEY_VALUE_ARG: Regex = "(.+?)=(.+)".r /** * The Java command's option name for classpath