#19046 replace system.{shutdown => terminate}

This commit is contained in:
Roland Kuhn 2016-01-17 15:48:52 +01:00
parent 1ef35d907f
commit 3140e72265
57 changed files with 67 additions and 67 deletions

View file

@ -64,7 +64,7 @@ public class ActorDocTest {
@AfterClass
public static void afterClass() {
system.shutdown();
system.terminate();
system.awaitTermination(Duration.create("5 seconds"));
}
@ -314,7 +314,7 @@ public class ActorDocTest {
swapper.tell(Swap, ActorRef.noSender()); // logs Ho
swapper.tell(Swap, ActorRef.noSender()); // logs Hi
swapper.tell(Swap, ActorRef.noSender()); // logs Ho
system.shutdown();
system.terminate();
}
}
//#swapper