Wrap long lines, for pdf

This commit is contained in:
Patrik Nordwall 2013-05-29 17:20:18 +02:00
parent 7c1ab68263
commit 95366cb585
27 changed files with 108 additions and 67 deletions

View file

@ -176,14 +176,17 @@ public class CustomRouterDocTest {
//#crRoutingLogic
return new CustomRoute() {
@Override
public scala.collection.immutable.Seq<Destination> destinationsFor(ActorRef sender, Object msg) {
public scala.collection.immutable.Seq<Destination> destinationsFor(
ActorRef sender, Object msg) {
switch ((Message) msg) {
case DemocratVote:
case DemocratCountResult:
return akka.japi.Util.immutableSingletonSeq(new Destination(sender, democratActor));
return akka.japi.Util.immutableSingletonSeq(
new Destination(sender, democratActor));
case RepublicanVote:
case RepublicanCountResult:
return akka.japi.Util.immutableSingletonSeq(new Destination(sender, republicanActor));
return akka.japi.Util.immutableSingletonSeq(
new Destination(sender, republicanActor));
default:
throw new IllegalArgumentException("Unknown message: " + msg);
}