Skip to content

Commit 1d7bd3c

Browse files
committed
fix style
1 parent c4bb273 commit 1d7bd3c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/execution/subquery.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ case class ScalarSubquery(
5454
override def toString: String = s"subquery#${exprId.id}"
5555

5656
// the first column in first row from `query`.
57-
@volatile private var result: Any = null
58-
@volatile private var updated: Boolean = false
59-
@transient private var evaluated: Boolean = false
60-
@transient private var futureResult: Future[Array[InternalRow]] = _
57+
@volatile private[this] var result: Any = null
58+
@volatile private[this] var updated: Boolean = false
59+
@transient private[this] var evaluated: Boolean = false
60+
@transient private[this] var futureResult: Future[Array[InternalRow]] = _
6161

6262
private def updateResult(v: Any): Unit = {
6363
result = v

0 commit comments

Comments
 (0)