Fix typos in reference documentation and Javadoc.
Signed-off-by: Seungrae Kim <obey1342@gmail.com> Closes #3235
This commit is contained in:
@@ -40,7 +40,7 @@ public interface BeforeSaveCallback<T> extends EntityCallback<T> {
|
||||
String collection); // <3>
|
||||
}
|
||||
----
|
||||
<1> `BeforeSaveCallback` specific method to be called before an entity is saved. Returns a potentially modifed instance.
|
||||
<1> `BeforeSaveCallback` specific method to be called before an entity is saved. Returns 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.
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ class Person {
|
||||
}
|
||||
|
||||
Person withId(Long id) {
|
||||
return new Person(id, this.firstname, this.lastame);
|
||||
return new Person(id, this.firstname, this.lastname);
|
||||
}
|
||||
|
||||
void setLastname(String lastname) {
|
||||
|
||||
@@ -76,9 +76,9 @@ WindowIterator<User> users = WindowIterator.of(position -> repository.findFirst1
|
||||
|
||||
[CAUTION]
|
||||
====
|
||||
There is a difference between `ScollPosition.offset()` and `ScollPosition.offset(0L)`.
|
||||
There is a difference between `ScrollPosition.offset()` and `ScrollPosition.offset(0L)`.
|
||||
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.
|
||||
Given the _exclusive_ nature of scrolling, using `ScollPosition.offset(0)` skips the first element and translate to an offset of `1`.
|
||||
Given the _exclusive_ nature of scrolling, using `ScrollPosition.offset(0)` skips the first element and translate to an offset of `1`.
|
||||
====
|
||||
|
||||
[[repositories.scrolling.keyset]]
|
||||
|
||||
@@ -104,7 +104,7 @@ public final class Alias {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether the the current alias is present and has the same value as the given {@link Alias}.
|
||||
* Returns whether the current alias is present and has the same value as the given {@link Alias}.
|
||||
*
|
||||
* @param other the other {@link Alias}
|
||||
* @return {@literal true} if there's an alias value present and its equal to the one in the given {@link Alias}.
|
||||
|
||||
@@ -80,7 +80,7 @@ class TransactionalRepositoryProxyPostProcessor implements RepositoryProxyPostPr
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom implementation of {@link AnnotationTransactionAttributeSource} that that slightly modify the algorithm
|
||||
* Custom implementation of {@link AnnotationTransactionAttributeSource} that slightly modify the algorithm
|
||||
* transaction configuration is discovered.
|
||||
* <p>
|
||||
* The original Spring implementation favors the implementation class' transaction configuration over one declared at
|
||||
|
||||
@@ -253,7 +253,7 @@ public class Part {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether the the type supports the given raw property. Default implementation checks whether the property
|
||||
* Returns whether the type supports the given raw property. Default implementation checks whether the property
|
||||
* ends with the registered keyword. Does not support the keyword if the property is a valid field as is.
|
||||
*
|
||||
* @param property
|
||||
|
||||
Reference in New Issue
Block a user