Typo in Akka Typed Persistence Docs (#26635)

This commit is contained in:
Piotr Gawryś 2019-03-29 09:51:06 +01:00 committed by Johan Andrén
parent 5a47df4681
commit 95fce88b2d

View file

@ -204,7 +204,7 @@ Java
given to the `forStateType` of the `CommandHandlerBuilder` and the match cases in the builders.] given to the `forStateType` of the `CommandHandlerBuilder` and the match cases in the builders.]
@scala[The command handler to process each command is decided by first looking at the state and then the command. @scala[The command handler to process each command is decided by first looking at the state and then the command.
It typically becomes two levels of pattern matching, first on the state and then on the command.] It typically becomes two levels of pattern matching, first on the state and then on the command.]
Delegating to methods is a good practise because the one-line cases give a nice overview of the message dispatch. Delegating to methods is a good practice because the one-line cases give a nice overview of the message dispatch.
Scala Scala
: @@snip [BlogPostExample.scala](/akka-persistence-typed/src/test/scala/docs/akka/persistence/typed/BlogPostExample.scala) { #command-handler } : @@snip [BlogPostExample.scala](/akka-persistence-typed/src/test/scala/docs/akka/persistence/typed/BlogPostExample.scala) { #command-handler }