Removing pipeTo from akka.actor, renamed pipeTo(f,a) to pipe(f,a)

This commit is contained in:
Viktor Klang 2012-01-31 18:56:25 +01:00
parent 815245a133
commit 571af3d8d2
11 changed files with 24 additions and 38 deletions

View file

@ -24,7 +24,7 @@ import static akka.japi.Util.manifest;
import static akka.actor.SupervisorStrategy.*;
import static akka.pattern.Patterns.ask;
import static akka.pattern.Patterns.pipeTo;
import static akka.pattern.Patterns.pipe;
import static akka.docs.actor.japi.FaultHandlingDocSample.WorkerApi.*;
import static akka.docs.actor.japi.FaultHandlingDocSample.CounterServiceApi.*;
@ -145,7 +145,7 @@ public class FaultHandlingDocSample {
counterService.tell(new Increment(1), getSelf());
// Send current progress to the initial sender
pipeTo(ask(counterService, GetCurrentCount, askTimeout)
pipe(ask(counterService, GetCurrentCount, askTimeout)
.mapTo(manifest(CurrentCount.class))
.map(new Mapper<CurrentCount, Progress>() {
public Progress apply(CurrentCount c) {