beliefer commented on code in PR #50219:
URL: https://github.com/apache/spark/pull/50219#discussion_r1986577519
##########
core/src/test/scala/org/apache/spark/rpc/TestRpcEndpoint.scala:
##########
@@ -26,15 +26,15 @@ class TestRpcEndpoint extends ThreadSafeRpcEndpoint with
TripleEquals {
override val rpcEnv: RpcEnv = null
- @volatile private var receiveMessages = ArrayBuffer[Any]()
+ @volatile private val receiveMessages = ArrayBuffer[Any]()
Review Comment:
Sounds reasonable to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]