From c8a7347355d8d3e9c425a02ce83a44a8b3265cb2 Mon Sep 17 00:00:00 2001 From: Rafael Avila Date: Fri, 30 Jun 2017 03:38:50 -0500 Subject: [PATCH] Typos (#23260) In Device Group section there are 2 occurrences of contains word and a mismatch type in the section about removing device actor when stopped. --- akka-docs/src/main/paradox/scala/guide/tutorial_3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/scala/guide/tutorial_3.md b/akka-docs/src/main/paradox/scala/guide/tutorial_3.md index 00971f2996..da5addf96f 100644 --- a/akka-docs/src/main/paradox/scala/guide/tutorial_3.md +++ b/akka-docs/src/main/paradox/scala/guide/tutorial_3.md @@ -186,9 +186,9 @@ after one device have been stopped, so we need to handle this message. The steps 2. When we are notified that a device actor has been stopped we also need to remove it from the @scala[`Map[String, ActorRef]`] @java[`Map`] which maps devices to device actors. -Unfortunately, the `Terminated` message contains only contains the `ActorRef` of the child actor but we do not know +Unfortunately, the `Terminated` message only contains the `ActorRef` of the child actor but we do not know its ID, which we need to remove it from the map of existing device to device actor mappings. To be able to do this removal, we -need to introduce another placeholder, @scala[`Map[String, ActorRef]`] @java[`Map`], that allow us to find out the device ID corresponding to a given `ActorRef`. Putting +need to introduce another placeholder, @scala[`Map[ActorRef, String]`] @java[`Map`], that allow us to find out the device ID corresponding to a given `ActorRef`. Putting this together the result is: Scala