Skip to content

Commit dd8a808

Browse files
alikilickayamp911de
authored andcommitted
Fix Javadoc in QueryByExampleExecutor.
Closes #2480
1 parent c383024 commit dd8a808

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
@@ -34,7 +34,7 @@
3434
public interface QueryByExampleExecutor<T> {
3535

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

0 commit comments

Comments
 (0)