Browse Source

Fix Javadoc typos.

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

Original pull request #3438

# Conflicts:
#	src/main/java/org/springframework/data/util/ReflectionUtils.java
issue/3.5.x/3441
Tran Ngoc Nhan 4 weeks ago committed by Jens Schauder
parent
commit
ff2d154fcf
No known key found for this signature in database
GPG Key ID: 2BE5D185CD2A1CE6
  1. 2
      src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc
  2. 2
      src/main/java/org/springframework/data/util/KotlinReflectionUtils.java
  3. 6
      src/main/java/org/springframework/data/util/ReflectionUtils.java
  4. 2
      src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java

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

@ -7,7 +7,7 @@ You can define simple sorting expressions by using property names and define sta @@ -7,7 +7,7 @@ You can define simple sorting expressions by using property names and define sta
You can concatenate expressions to collect multiple criteria into one expression.
Scroll queries return a `Window<T>` that allows obtaining the element's scroll position to fetch the next `Window<T>` until your application has consumed the entire query result.
Similar to consuming a Java `Iterator<List<…>>` by obtaining the next batch of results, query result scrolling lets you access the a `ScrollPosition` through `Window.positionAt(…)`, as in the following example:
Similar to consuming a Java `Iterator<List<…>>` by obtaining the next batch of results, query result scrolling lets you access a `ScrollPosition` through `Window.positionAt(…)`, as in the following example:
[source,java]
----

2
src/main/java/org/springframework/data/util/KotlinReflectionUtils.java

@ -169,7 +169,7 @@ public final class KotlinReflectionUtils { @@ -169,7 +169,7 @@ public final class KotlinReflectionUtils {
}
/**
* Returns {@literal} whether the given {@link MethodParameter} is nullable. Its declaring method can reference a
* Returns {@literal true} whether the given {@link MethodParameter} is nullable. Its declaring method can reference a
* Kotlin function, property or interface property.
*
* @return {@literal true} if {@link MethodParameter} is nullable.

6
src/main/java/org/springframework/data/util/ReflectionUtils.java

@ -151,7 +151,7 @@ public final class ReflectionUtils { @@ -151,7 +151,7 @@ public final class ReflectionUtils {
* Returns the description of the field filter. Used in exceptions being thrown in case uniqueness shall be enforced
* on the field filter.
*
* @return
* @return the description of the field filter
*/
String getDescription();
@ -303,7 +303,7 @@ public final class ReflectionUtils { @@ -303,7 +303,7 @@ public final class ReflectionUtils {
*
* @param field must not be {@literal null}.
* @param target must not be {@literal null}.
* @param value
* @param value can be {@literal null}.
*/
public static void setField(Field field, Object target, @Nullable Object value) {
@ -493,7 +493,7 @@ public final class ReflectionUtils { @@ -493,7 +493,7 @@ public final class ReflectionUtils {
}
/**
* Returns {@literal} whether the given {@link MethodParameter} is nullable. Nullable parameters are reference types
* Returns {@literal true} whether the given {@link MethodParameter} is nullable. Nullable parameters are reference types
* and ones that are defined in Kotlin as such.
*
* @return {@literal true} if {@link MethodParameter} is nullable.

2
src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java

@ -73,7 +73,7 @@ public abstract class SortHandlerMethodArgumentResolverSupport { @@ -73,7 +73,7 @@ public abstract class SortHandlerMethodArgumentResolverSupport {
/**
* Configures the delimiter used to separate property references and the direction to be sorted by. Defaults to
* {@code}, which means sort values look like this: {@code firstname,lastname,asc}.
* {@code ,} which means sort values look like this: {@code firstname,lastname,asc}.
*
* @param propertyDelimiter must not be {@literal null} or empty.
*/

Loading…
Cancel
Save