Skip to content

Commit 98b41ec

Browse files
ouyangxiaochensrowen
authored andcommitted
[SPARK-20316][SQL] Val and Var should strictly follow the Scala syntax
## What changes were proposed in this pull request? val and var should strictly follow the Scala syntax ## How was this patch tested? manual test and exisiting test cases Author: ouyangxiaochen <[email protected]> Closes #17628 from ouyangxiaochen/spark-413.
1 parent fb036c4 commit 98b41ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ import org.apache.spark.util.ShutdownHookManager
4747
* has dropped its support.
4848
*/
4949
private[hive] object SparkSQLCLIDriver extends Logging {
50-
private var prompt = "spark-sql"
51-
private var continuedPrompt = "".padTo(prompt.length, ' ')
50+
private val prompt = "spark-sql"
51+
private val continuedPrompt = "".padTo(prompt.length, ' ')
5252
private var transport: TSocket = _
5353

5454
installSignalHandler()

0 commit comments

Comments
 (0)