Skip to content

Commit bfc5078

Browse files
Seungpangmp911de
authored andcommitted
Fix typos in reference documentation and Javadoc.
Signed-off-by: Seungrae Kim <[email protected]> Closes #3235
1 parent f8672ba commit bfc5078

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface BeforeSaveCallback<T> extends EntityCallback<T> {
4040
String collection); // <3>
4141
}
4242
----
43-
<1> `BeforeSaveCallback` specific method to be called before an entity is saved. Returns a potentially modifed instance.
43+
<1> `BeforeSaveCallback` specific method to be called before an entity is saved. Returns a potentially modified instance.
4444
<2> The entity right before persisting.
4545
<3> A number of store specific arguments like the _collection_ the entity is persisted to.
4646

src/main/antora/modules/ROOT/pages/object-mapping.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Person {
103103
}
104104
105105
Person withId(Long id) {
106-
return new Person(id, this.firstname, this.lastame);
106+
return new Person(id, this.firstname, this.lastname);
107107
}
108108
109109
void setLastname(String lastname) {

src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ WindowIterator<User> users = WindowIterator.of(position -> repository.findFirst1
7676

7777
[CAUTION]
7878
====
79-
There is a difference between `ScollPosition.offset()` and `ScollPosition.offset(0L)`.
79+
There is a difference between `ScrollPosition.offset()` and `ScrollPosition.offset(0L)`.
8080
The former indicates the start of scroll operation, pointing to no specific offset whereas the latter identifies the first element (at position `0`) of the result.
81-
Given the _exclusive_ nature of scrolling, using `ScollPosition.offset(0)` skips the first element and translate to an offset of `1`.
81+
Given the _exclusive_ nature of scrolling, using `ScrollPosition.offset(0)` skips the first element and translate to an offset of `1`.
8282
====
8383

8484
[[repositories.scrolling.keyset]]

src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void postProcess(ProxyFactory factory, RepositoryInformation repositoryIn
8282
}
8383

8484
/**
85-
* Custom implementation of {@link AnnotationTransactionAttributeSource} that that slightly modify the algorithm
85+
* Custom implementation of {@link AnnotationTransactionAttributeSource} that slightly modify the algorithm
8686
* transaction configuration is discovered.
8787
* <p>
8888
* The original Spring implementation favors the implementation class' transaction configuration over one declared at

0 commit comments

Comments
 (0)