From adcb4a78df0e4e9b22efafb9965864fe302710d5 Mon Sep 17 00:00:00 2001 From: Robert Stoll Date: Mon, 25 Nov 2019 10:58:24 +0100 Subject: [PATCH] [doc] typo actors `need` instead of `needs` (#28224) * [doc] typo actors `need` instead of `needs` * typo now `takes` instead of `take` --- .../src/main/paradox/project/migration-guide-2.5.x-2.6.x.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md b/akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md index 40ddd63547..c277dd9356 100644 --- a/akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md +++ b/akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md @@ -609,10 +609,10 @@ made before finalizing the APIs. Compared to Akka 2.5.x the source incompatible * `Behaviors.intercept` now takes a factory function for the interceptor. * `ActorSystem.scheduler` previously gave access to the classic `akka.actor.Scheduler` but now returns a specific `akka.actor.typed.Scheduler`. - Additionally `schedule` method has been replaced by `scheduleWithFixedDelay` and `scheduleAtFixedRate`. Actors that needs to schedule tasks should + Additionally `schedule` method has been replaced by `scheduleWithFixedDelay` and `scheduleAtFixedRate`. Actors that need to schedule tasks should prefer `Behaviors.withTimers`. * `TimerScheduler.startPeriodicTimer`, replaced by `startTimerWithFixedDelay` or `startTimerAtFixedRate` -* `Routers.pool` now take a factory function rather than a `Behavior` to protect against accidentally sharing same behavior instance and state across routees. +* `Routers.pool` now takes a factory function rather than a `Behavior` to protect against accidentally sharing same behavior instance and state across routees. * The `request` parameter in Distributed Data commands was removed, in favor of using `ask` with the new `ReplicatorMessageAdapter`. * Removed `Behavior.same`, `Behavior.unhandled`, `Behavior.stopped`, `Behavior.empty`, and `Behavior.ignore` since they were redundant with corresponding @scala[scaladsl.Behaviors.x]@java[javadsl.Behaviors.x].