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 c383024 commit dd8a808Copy full SHA for dd8a808
src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java
@@ -34,7 +34,7 @@
34
public interface QueryByExampleExecutor<T> {
35
36
/**
37
- * 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.
38
*
39
* @param example must not be {@literal null}.
40
* @return a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.
0 commit comments