From fe34dd163cea4ede2437d2ae05e5dda679fa30bc Mon Sep 17 00:00:00 2001 From: Niko Will Date: Fri, 10 Nov 2017 15:26:16 +0100 Subject: [PATCH] Fix typos in PersistentActor.scala #23962 I found some typos in PersistentActor.scala and fixed them. --- .../scala/akka/persistence/PersistentActor.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/akka-persistence/src/main/scala/akka/persistence/PersistentActor.scala b/akka-persistence/src/main/scala/akka/persistence/PersistentActor.scala index d7a0d81a2d..e2614d3a0d 100644 --- a/akka-persistence/src/main/scala/akka/persistence/PersistentActor.scala +++ b/akka-persistence/src/main/scala/akka/persistence/PersistentActor.scala @@ -180,7 +180,7 @@ trait PersistentActor extends Eventsourced with PersistenceIdentity { * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again. @@ -219,7 +219,7 @@ trait PersistentActor extends Eventsourced with PersistenceIdentity { * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again. @@ -298,7 +298,7 @@ abstract class UntypedPersistentActor extends UntypedActor with Eventsourced wit * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again. @@ -335,7 +335,7 @@ abstract class UntypedPersistentActor extends UntypedActor with Eventsourced wit * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again. @@ -454,7 +454,7 @@ abstract class AbstractPersistentActor extends AbstractActor with Eventsourced { * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again. @@ -486,7 +486,7 @@ abstract class AbstractPersistentActor extends AbstractActor with Eventsourced { * * If persistence of an event fails, [[#onPersistFailure]] will be invoked and the actor will * unconditionally be stopped. The reason that it cannot resume when persist fails is that it - * is unknown if the even was actually persisted or not, and therefore it is in an inconsistent + * is unknown if the event was actually persisted or not, and therefore it is in an inconsistent * state. Restarting on persistent failures will most likely fail anyway, since the journal * is probably unavailable. It is better to stop the actor and after a back-off timeout start * it again.