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:
Arnout Engelen 2019-11-26 12:57:44 +01:00 committed by GitHub
parent 09a97ce1c9
commit 8bfb891d38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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