removed calls to deprecated Props constructor in java code
This commit is contained in:
parent
bdfc1e4bf9
commit
308428e7bc
14 changed files with 28 additions and 68 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue