Unintended change to local variable of a Scala Actor
问题 I am currently working on a logging mechanism to be used with Scala, but I have run into an unexpected issue that has prevented me from actually working on it. In order to test functionality, I am looking to set-up a simple message passing ring. Within the ring, each node is an extension of a Scala Actor and is aware of it's immediate neighbors (previous/next). The ring construction is done as follows, with the parameter "nodes" being passed from a controller actor: def buildRing(nodes:Array