removed unnecessary new keywords

This commit is contained in:
VEINHORN 2017-01-13 12:06:09 +03:00
parent 956676d0bc
commit 0eac4d413b
21 changed files with 34 additions and 34 deletions

View file

@ -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)
}