better document become semantics, see #2683

This commit is contained in:
Roland 2012-11-06 11:00:27 +01:00
parent 8eec825f18
commit f9eb59e883
7 changed files with 54 additions and 57 deletions

View file

@ -32,9 +32,9 @@ public class UntypedActorSwapper {
@Override
public void apply(Object message) {
log.info("Ho");
getContext().unbecome(); // resets the latest 'become' (just for fun)
getContext().unbecome(); // resets the latest 'become'
}
});
}, false); // this signals stacking of the new behavior
} else {
unhandled(message);
}