Merge remote-tracking branch 'origin/master' into wip-improve-docs-rk

This commit is contained in:
Roland 2011-12-28 16:15:20 +01:00
commit 05e11b6fa3
46 changed files with 788 additions and 195 deletions

View file

@ -34,7 +34,7 @@ public class SchedulerDocTestBase {
@Before
public void setUp() {
system = ActorSystem.create("MySystem", AkkaSpec.testConf());
testActor = system.actorOf(new Props().withCreator(MyUntypedActor.class));
testActor = system.actorOf(new Props(MyUntypedActor.class));
}
@After

View file

@ -100,7 +100,7 @@ public class UntypedActorDocTestBase {
public void propsActorOf() {
ActorSystem system = ActorSystem.create("MySystem");
//#creating-props
ActorRef myActor = system.actorOf(new Props().withCreator(MyUntypedActor.class).withDispatcher("my-dispatcher"),
ActorRef myActor = system.actorOf(new Props(MyUntypedActor.class).withDispatcher("my-dispatcher"),
"myactor");
//#creating-props
myActor.tell("test");