Minor boyscouting substituting a null for Actor.noSender

This commit is contained in:
Viktor Klang 2012-12-20 15:12:25 +01:00
parent e6bb697812
commit c2a7fc3ed3

View file

@ -19,7 +19,7 @@ trait PipeToSupport {
}
future
}
def to(recipient: ActorRef): PipeableFuture[T] = to(recipient, null)
def to(recipient: ActorRef): PipeableFuture[T] = to(recipient, Actor.noSender)
def to(recipient: ActorRef, sender: ActorRef): PipeableFuture[T] = {
pipeTo(recipient)(sender)
this