File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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)
You can’t perform that action at this time.
0 commit comments