Missing creation of second actor (#28251)
* Update ActorHierarchyExperiments.java Missing creation of second actor: context.spawn(StartStopActor2.create(), "second"); * sbt akka-docs/test:javafmt
This commit is contained in:
parent
09a97ce1c9
commit
8bfb891d38
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ class StartStopActor1 extends AbstractBehavior<String> {
|
|||
private StartStopActor1(ActorContext<String> context) {
|
||||
super(context);
|
||||
System.out.println("first started");
|
||||
|
||||
context.spawn(StartStopActor2.create(), "second");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue