Skip to content

Commit f51a546

Browse files
Fix typos
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent a4fd7d3 commit f51a546

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/main/antora/modules/ROOT/pages/entity-callbacks.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ An `EntityCallback` looks pretty much like a specialized `ApplicationListener`.
77
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.
88
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.
99

10-
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.
10+
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.
1111

1212
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.
1313

@@ -61,7 +61,7 @@ public interface ReactiveBeforeSaveCallback<T> extends EntityCallback<T> {
6161
String collection); // <3>
6262
}
6363
----
64-
<1> `BeforeSaveCallback` specific method to be called on subscription, before an entity is saved. Emits a potentially modifed instance.
64+
<1> `BeforeSaveCallback` specific method to be called on subscription, before an entity is saved. Emits a potentially modified instance.
6565
<2> The entity right before persisting.
6666
<3> A number of store specific arguments like the _collection_ the entity is persisted to.
6767

src/main/antora/modules/ROOT/pages/repositories/core-extensions-web.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class MyController {
161161
162162
private final MyRepository repository;
163163
164-
// Constructor ommitted
164+
// Constructor omitted
165165
166166
@GetMapping("/page")
167167
PagedModel<?> page(Pageable pageable) {
@@ -211,7 +211,7 @@ class MyController {
211211
212212
private final MyRepository repository;
213213
214-
// Constructor ommitted
214+
// Constructor omitted
215215
216216
@GetMapping("/page")
217217
Page<?> page(Pageable pageable) {

src/main/antora/modules/ROOT/pages/repositories/null-handling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ interface UserRepository extends Repository<User, Long> {
121121
User getByEmailAddress(EmailAddress emailAddress); <2>
122122
123123
@Nullable
124-
User findByEmailAddress(@Nullable EmailAddress emailAdress); <3>
124+
User findByEmailAddress(@Nullable EmailAddress emailAddress); <3>
125125
126126
Optional<User> findOptionalByEmailAddress(EmailAddress emailAddress); <4>
127127
}

src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ In addition to filter predicates, the following list of modifiers is supported:
8585
|Keyword | Description
8686
|`IgnoreCase`, `IgnoringCase`| Used with a predicate keyword for case-insensitive comparison.
8787
|`AllIgnoreCase`, `AllIgnoringCase`| Ignore case for all suitable properties. Used somewhere in the query method predicate.
88-
|`OrderBy…`| Specify a static sorting order followed by the property path and direction (e. g. `OrderByFirstnameAscLastnameDesc`).
88+
|`OrderBy…`| Specify a static sorting order followed by the property path and direction (e.g. `OrderByFirstnameAscLastnameDesc`).
8989
|===============

0 commit comments

Comments
 (0)