diff --git a/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc b/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc index a1cf078a30..0dbcd4ff71 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc +++ b/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 You can concatenate expressions to collect multiple criteria into one expression. Scroll queries return a `Window` that allows obtaining the element's scroll position to fetch the next `Window` until your application has consumed the entire query result. -Similar to consuming a Java `Iterator>` 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>` 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] ---- diff --git a/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java b/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java index eb1cae297f..7e287ec438 100644 --- a/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java +++ b/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java @@ -169,7 +169,7 @@ public static boolean hasValueClassProperty(Class type) { } /** - * 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. diff --git a/src/main/java/org/springframework/data/util/ReflectionUtils.java b/src/main/java/org/springframework/data/util/ReflectionUtils.java index f0313a44f3..b86df3e3fd 100644 --- a/src/main/java/org/springframework/data/util/ReflectionUtils.java +++ b/src/main/java/org/springframework/data/util/ReflectionUtils.java @@ -131,7 +131,7 @@ public interface DescribedFieldFilter extends FieldFilter { * 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(); @@ -267,7 +267,7 @@ public static Field getRequiredField(Class type, String name) { * * @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) { @@ -479,7 +479,7 @@ public static String toString(Method method, Function, String> typeName } /** - * 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. diff --git a/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java index 4da9db6815..ac587e7555 100644 --- a/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java @@ -73,7 +73,7 @@ public void setSortParameter(String sortParameter) { /** * 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. */