We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76b2323 commit e77f0ebCopy full SHA for e77f0eb
src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java
@@ -33,7 +33,7 @@
33
public interface QueryByExampleExecutor<T> {
34
35
/**
36
- * Returns a single entity matching the given {@link Example} or {@literal null} if none was found.
+ * Returns a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
37
*
38
* @param example must not be {@literal null}.
39
* @return a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
0 commit comments