Browse Source

Fix Javadoc in QueryByExampleExecutor.

Closes #2480
2.5.x
alikilickaya 4 years ago committed by Mark Paluch
parent
commit
ba5d1875a2
No known key found for this signature in database
GPG Key ID: 4406B84C1661DCD1
  1. 2
      src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java

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

@ -33,7 +33,7 @@ import org.springframework.data.domain.Sort; @@ -33,7 +33,7 @@ import org.springframework.data.domain.Sort;
public interface QueryByExampleExecutor<T> {
/**
* 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.
*
* @param example must not be {@literal null}.
* @return a single entity matching the given {@link Example} or {@link Optional#empty()} if none was found.

Loading…
Cancel
Save