Skip to content

Commit ba5d187

Browse files
alikilickayamp911de
authored andcommitted
Fix Javadoc in QueryByExampleExecutor.
Closes #2480
1 parent 7f61bce commit ba5d187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public interface QueryByExampleExecutor<T> {
3434

3535
/**
36-
* Returns a single entity matching the given {@link Example} or {@literal null} if none was found.
36+
* Returns a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
3737
*
3838
* @param example must not be {@literal null}.
3939
* @return a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.

0 commit comments

Comments
 (0)