Skip to content

Commit

Permalink
remove lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Oct 9, 2023
1 parent aa52a4c commit 0712689
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ object SparkProcessBuilder {
final private[kyuubi] val SPARK_CORE_SCALA_VERSION_REGEX =
"""^spark-core_(\d\.\d+).*.jar$""".r

final private[kyuubi] lazy val SPARK_HOME_REGEX_SCALA_212 =
final private[kyuubi] val SPARK_HOME_REGEX_SCALA_212 =
"""^spark-\d+\.\d+\.\d+-bin-hadoop\d+(\.\d+)?$""".r

final private[kyuubi] lazy val SPARK_HOME_REGEX_SCALA_213 =
final private[kyuubi] val SPARK_HOME_REGEX_SCALA_213 =
"""^spark-\d+\.\d+\.\d+-bin-hadoop\d(\.\d+)?+-scala\d+(\.\d+)?$""".r
}

0 comments on commit 0712689

Please sign in to comment.