=doc Make ActorSystem name in tutorial_1 consistent with documentation (#23629) (#23635)

This commit is contained in:
Szymon Chojnacki 2017-09-13 17:45:11 +01:00 committed by Konrad `ktoso` Malawski
parent 120e248e6f
commit aaf1867e0e
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ class SupervisedActor extends AbstractActor {
//#print-refs
public class ActorHierarchyExperiments {
public static void main(String[] args) throws java.io.IOException {
ActorSystem system = ActorSystem.create("test");
ActorSystem system = ActorSystem.create("testSystem");
ActorRef firstRef = system.actorOf(Props.create(PrintMyActorRefActor.class), "first-actor");
System.out.println("First: " + firstRef);

View file

@ -68,7 +68,7 @@ class ActorHierarchyExperiments extends AkkaSpec {
//#print-refs
object ActorHierarchyExperiments extends App {
val system = ActorSystem()
val system = ActorSystem("testSystem")
val firstRef = system.actorOf(Props[PrintMyActorRefActor], "first-actor")
println(s"First: $firstRef")