diff options
-rw-r--r-- | src/actors/scala/actors/Channel.scala | 2 | ||||
-rw-r--r-- | src/actors/scala/actors/remote/NetKernel.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/actors/scala/actors/Channel.scala b/src/actors/scala/actors/Channel.scala index 65eccb8ba0..db988aee63 100644 --- a/src/actors/scala/actors/Channel.scala +++ b/src/actors/scala/actors/Channel.scala @@ -240,7 +240,7 @@ class Channel[Msg] extends InputChannel[Msg] with OutputChannel[Msg] { received = null receiver.suspendActorFor(msec) Debug.info("received: "+received) - if (received eq null) { + if (received == null) { Debug.info("no message received after "+msec+" millis") if (f.isDefinedAt(TIMEOUT)) { Debug.info("executing TIMEOUT action") diff --git a/src/actors/scala/actors/remote/NetKernel.scala b/src/actors/scala/actors/remote/NetKernel.scala index db97b5dd4d..db622cc72f 100644 --- a/src/actors/scala/actors/remote/NetKernel.scala +++ b/src/actors/scala/actors/remote/NetKernel.scala @@ -65,7 +65,7 @@ class NetKernel(service: Service) { private val actors = new HashMap[Symbol, Actor] private val names = new HashMap[Actor, Symbol] - private[actors] def register(name: Symbol, a: Actor): Unit = synchronized { + /*private[actors]*/ def register(name: Symbol, a: Actor): Unit = synchronized { actors += name -> a names += a -> name } |