removed calls to deprecated Props constructor in java code

This commit is contained in:
drexin 2013-05-02 17:00:44 +02:00
parent bdfc1e4bf9
commit 308428e7bc
14 changed files with 28 additions and 68 deletions

View file

@ -24,7 +24,7 @@ public class StashJavaAPI {
@Test
public void mustBeAbleToUseStash() {
ActorRef ref = system.actorOf(new Props(StashJavaAPITestActor.class)
ActorRef ref = system.actorOf(Props.create(StashJavaAPITestActor.class)
.withDispatcher("my-dispatcher"));
ref.tell("Hello", ref);
ref.tell("Hello", ref);