Skip to content

Commit 30ab1a3

Browse files
ngocnhan-tran1996schauder
authored andcommitted
Fix Javadoc typos.
Signed-off-by: Tran Ngoc Nhan <[email protected]> Original pull request #3438
1 parent a5f1f57 commit 30ab1a3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can define simple sorting expressions by using property names and define sta
77
You can concatenate expressions to collect multiple criteria into one expression.
88

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

1212
[source,java]
1313
----

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public static boolean hasValueClassProperty(Class<?> type) {
169169
}
170170

171171
/**
172-
* Returns {@literal} whether the given {@link MethodParameter} is nullable. Its declaring method can reference a
172+
* Returns {@literal true} whether the given {@link MethodParameter} is nullable. Its declaring method can reference a
173173
* Kotlin function, property or interface property.
174174
*
175175
* @return {@literal true} if {@link MethodParameter} is nullable.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public interface DescribedFieldFilter extends FieldFilter {
131131
* Returns the description of the field filter. Used in exceptions being thrown in case uniqueness shall be enforced
132132
* on the field filter.
133133
*
134-
* @return
134+
* @return the description of the field filter
135135
*/
136136
String getDescription();
137137

@@ -267,7 +267,7 @@ public static Field getRequiredField(Class<?> type, String name) {
267267
*
268268
* @param field must not be {@literal null}.
269269
* @param target must not be {@literal null}.
270-
* @param value
270+
* @param value can be {@literal null}.
271271
*/
272272
public static void setField(Field field, Object target, @Nullable Object value) {
273273

@@ -479,7 +479,7 @@ public static String toString(Method method, Function<Class<?>, String> typeName
479479
}
480480

481481
/**
482-
* Returns {@literal} whether the given {@link MethodParameter} is nullable. Nullable parameters are reference types
482+
* Returns {@literal true} whether the given {@link MethodParameter} is nullable. Nullable parameters are reference types
483483
* and ones that are defined in Kotlin as such.
484484
*
485485
* @return {@literal true} if {@link MethodParameter} is nullable.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void setSortParameter(String sortParameter) {
7373

7474
/**
7575
* Configures the delimiter used to separate property references and the direction to be sorted by. Defaults to
76-
* {@code}, which means sort values look like this: {@code firstname,lastname,asc}.
76+
* {@code ,} which means sort values look like this: {@code firstname,lastname,asc}.
7777
*
7878
* @param propertyDelimiter must not be {@literal null} or empty.
7979
*/

0 commit comments

Comments
 (0)