Changing the default sender of ! to be Actor.noSender to keep null in one place and have a logical alternative when deadLetters isn't present in scope.
This commit is contained in:
parent
89c1f66b1f
commit
397083a218
11 changed files with 19 additions and 14 deletions
|
|
@ -63,7 +63,7 @@ private[akka] class RemoteSystemDaemon(
|
|||
}
|
||||
}
|
||||
|
||||
override def !(msg: Any)(implicit sender: ActorRef = null): Unit = msg match {
|
||||
override def !(msg: Any)(implicit sender: ActorRef = Actor.noSender): Unit = msg match {
|
||||
case message: DaemonMsg ⇒
|
||||
log.debug("Received command [{}] to RemoteSystemDaemon on [{}]", message, path.address)
|
||||
message match {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue