diff --git a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/Effect.scala b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/Effect.scala index 7cb74717e6..99ccbe49ef 100644 --- a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/Effect.scala +++ b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/Effect.scala @@ -176,7 +176,7 @@ object Effect { final case class WatchedWith[U, T](other: ActorRef[U], message: T) extends Effect /** - * The behavior started watching `other`, through `context.unwatch(other)` + * The behavior stopped watching `other`, through `context.unwatch(other)` */ final case class Unwatched[T](other: ActorRef[T]) extends Effect diff --git a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/javadsl/Effects.scala b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/javadsl/Effects.scala index 709ad41c51..acdd799b90 100644 --- a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/javadsl/Effects.scala +++ b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/javadsl/Effects.scala @@ -77,7 +77,7 @@ object Effects { def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message) /** - * The behavior started watching `other`, through `context.unwatch(other)` + * The behavior stopped watching `other`, through `context.unwatch(other)` */ def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other) diff --git a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/scaladsl/Effects.scala b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/scaladsl/Effects.scala index 4aa94a5a76..ff77c0524f 100644 --- a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/scaladsl/Effects.scala +++ b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/scaladsl/Effects.scala @@ -76,7 +76,7 @@ object Effects { def watchedWith[U, T](other: ActorRef[U], message: T): WatchedWith[U, T] = WatchedWith(other, message) /** - * The behavior started watching `other`, through `context.unwatch(other)` + * The behavior stopped watching `other`, through `context.unwatch(other)` */ def unwatched[T](other: ActorRef[T]): Unwatched[T] = Unwatched(other)