diff --git a/src/main/antora/modules/ROOT/pages/entity-callbacks.adoc b/src/main/antora/modules/ROOT/pages/entity-callbacks.adoc index 13f27a22f5..0e4cd15c58 100644 --- a/src/main/antora/modules/ROOT/pages/entity-callbacks.adoc +++ b/src/main/antora/modules/ROOT/pages/entity-callbacks.adoc @@ -7,7 +7,7 @@ An `EntityCallback` looks pretty much like a specialized `ApplicationListener`. Some Spring Data modules publish store specific events (such as `BeforeSaveEvent`) that allow modifying the given entity. In some cases, such as when working with immutable types, these events can cause trouble. Also, event publishing relies on `ApplicationEventMulticaster`. If configuring that with an asynchronous `TaskExecutor` it can lead to unpredictable outcomes, as event processing can be forked onto a Thread. -Entity callbacks provide integration points with both synchronous and reactive APIs to guarantee in-order execution at well-defined checkpoints within the processing chain, returning a potentially modified entity or an reactive wrapper type. +Entity callbacks provide integration points with both synchronous and reactive APIs to guarantee in-order execution at well-defined checkpoints within the processing chain, returning a potentially modified entity or a reactive wrapper type. Entity callbacks are typically separated by API type. This separation means that a synchronous API considers only synchronous entity callbacks and a reactive implementation considers only reactive entity callbacks. @@ -61,7 +61,7 @@ public interface ReactiveBeforeSaveCallback extends EntityCallback { String collection); // <3> } ---- -<1> `BeforeSaveCallback` specific method to be called on subscription, before an entity is saved. Emits a potentially modifed instance. +<1> `BeforeSaveCallback` specific method to be called on subscription, before an entity is saved. Emits a potentially modified instance. <2> The entity right before persisting. <3> A number of store specific arguments like the _collection_ the entity is persisted to. diff --git a/src/main/antora/modules/ROOT/pages/repositories/core-extensions-web.adoc b/src/main/antora/modules/ROOT/pages/repositories/core-extensions-web.adoc index 7be6cf1c04..f27abccdfb 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/core-extensions-web.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/core-extensions-web.adoc @@ -161,7 +161,7 @@ class MyController { private final MyRepository repository; - // Constructor ommitted + // Constructor omitted @GetMapping("/page") PagedModel page(Pageable pageable) { @@ -211,7 +211,7 @@ class MyController { private final MyRepository repository; - // Constructor ommitted + // Constructor omitted @GetMapping("/page") Page page(Pageable pageable) { diff --git a/src/main/antora/modules/ROOT/pages/repositories/null-handling.adoc b/src/main/antora/modules/ROOT/pages/repositories/null-handling.adoc index 0951dd9649..fd7cba3c36 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/null-handling.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/null-handling.adoc @@ -121,7 +121,7 @@ interface UserRepository extends Repository { User getByEmailAddress(EmailAddress emailAddress); <2> @Nullable - User findByEmailAddress(@Nullable EmailAddress emailAdress); <3> + User findByEmailAddress(@Nullable EmailAddress emailAddress); <3> Optional findOptionalByEmailAddress(EmailAddress emailAddress); <4> } diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc index 737b8818d3..f487cbfbfc 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc @@ -85,5 +85,5 @@ In addition to filter predicates, the following list of modifiers is supported: |Keyword | Description |`IgnoreCase`, `IgnoringCase`| Used with a predicate keyword for case-insensitive comparison. |`AllIgnoreCase`, `AllIgnoringCase`| Ignore case for all suitable properties. Used somewhere in the query method predicate. -|`OrderBy…`| Specify a static sorting order followed by the property path and direction (e. g. `OrderByFirstnameAscLastnameDesc`). +|`OrderBy…`| Specify a static sorting order followed by the property path and direction (e.g. `OrderByFirstnameAscLastnameDesc`). |===============