Fix typos in persistence docs

This commit is contained in:
Heiko Seeberger 2017-02-16 17:19:16 +01:00
parent e493bdc1b8
commit cdd00f4ae2
2 changed files with 5 additions and 5 deletions

View file

@ -193,7 +193,7 @@ Add fields
----------
**Situation:**
You need to add a field to an existing message type. For example, a ``SeatReservation(String letter, int row)`` now
You need to add a field to an existing message type. For example, a ``SeatReserved(String letter, int row)`` now
needs to have an associated code which indicates if it is a window or aisle seat.
**Solution:**
@ -229,7 +229,7 @@ Rename fields
-------------
**Situation:**
When first designing the system the ``SeatReverved`` event featured an ``code`` field.
When first designing the system the ``SeatReserved`` event featured a ``code`` field.
After some time you discover that what was originally called ``code`` actually means ``seatNr``, thus the model
should be changed to reflect this concept more accurately.
@ -275,7 +275,7 @@ or using a library like `Stamina`_ which helps to create those ``V1->V2->V3->...
.. figure:: ../images/persistence-manual-rename.png
:align: center
The following snippet showcases how one could apply renames if working with plain JSON (using a
The following snippet showcases how one could apply renames if working with plain JSON (using a
``JsObject`` as an example JSON representation):
.. includecode:: code/docs/persistence/PersistenceSchemaEvolutionDocTest.java#rename-plain-json

View file

@ -193,7 +193,7 @@ Add fields
----------
**Situation:**
You need to add a field to an existing message type. For example, a ``SeatReservation(letter:String, row:Int)`` now
You need to add a field to an existing message type. For example, a ``SeatReserved(letter:String, row:Int)`` now
needs to have an associated code which indicates if it is a window or aisle seat.
**Solution:**
@ -229,7 +229,7 @@ Rename fields
-------------
**Situation:**
When first designing the system the ``SeatReverved`` event featured an ``code`` field.
When first designing the system the ``SeatReserved`` event featured a ``code`` field.
After some time you discover that what was originally called ``code`` actually means ``seatNr``, thus the model
should be changed to reflect this concept more accurately.