Minor boyscouting substituting a null for Actor.noSender
This commit is contained in:
parent
e6bb697812
commit
c2a7fc3ed3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue