DOC: typo in code in Java API docs for UntypedActor
From user:
I've noticed an issue in one of code examples for AKKA 2.0.3 Java API:
http://doc.akka.io/docs/akka/2.0.3/java/untyped-actors.html#HotSwap
I guess it should be:
I've noticed an issue in one of code examples for AKKA 2.0.3 Java API:
http://doc.akka.io/docs/akka/2.0.3/java/untyped-actors.html#HotSwap
Procedure<Object> angry = new Procedure<Object>() { @Override public void apply(Object message) { if (message.equals("foo")) { getSender().tell("I am already angry?"); } else if (message.equals("foo")) { getContext().become(happy); } } };
I guess it should be:
Procedure<Object> angry = new Procedure<Object>() { @Override public void apply(Object message) { if (message.equals("bar")) { getSender().tell("I am already angry?"); } else if (message.equals("foo")) { getContext().become(happy); } } };
Leave a comment
on 2012-08-30 15:27 *
By viktorklang
Assigned to set to viktorklang
Status changed from New to Fixed