removed unnecessary new keywords
This commit is contained in:
parent
956676d0bc
commit
0eac4d413b
21 changed files with 34 additions and 34 deletions
|
|
@ -559,7 +559,7 @@ private[akka] class RemoteActorRef private[akka] (
|
|||
} catch handleException(message, Actor.noSender)
|
||||
|
||||
override def !(message: Any)(implicit sender: ActorRef = Actor.noSender): Unit = {
|
||||
if (message == null) throw new InvalidMessageException("Message is null")
|
||||
if (message == null) throw InvalidMessageException("Message is null")
|
||||
try remote.send(message, OptionVal(sender), this) catch handleException(message, sender)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue