Skip to content

Commit 593096b

Browse files
committed
Update SQLConf.scala
1 parent 7304d9b commit 593096b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ trait SQLConf {
5353
private val settings = new java.util.concurrent.ConcurrentHashMap[String, String]()
5454

5555
def set(props: Properties): Unit = {
56-
props.asScala.foreach { case (k, v) => this.settings.put(k, v) }
56+
props.asScala.foreach { case (k, v) => this.settings.put(k, v) }
5757
}
5858

5959
def set(key: String, value: String): Unit = {
@@ -67,13 +67,13 @@ trait SQLConf {
6767
}
6868

6969
def get(key: String, defaultValue: String): String = {
70-
Option(settings.get(key)).getOrElse(defaultValue)
70+
Option(settings.get(key)).getOrElse(defaultValue)
7171
}
7272

7373
def getAll: Array[(String, String)] = settings.asScala.toArray
7474

7575
def getOption(key: String): Option[String] = {
76-
Option(settings.get(key))
76+
Option(settings.get(key))
7777
}
7878

7979
def contains(key: String): Boolean = settings.containsKey(key)

0 commit comments

Comments
 (0)