From f16941e85f019d832aa9172c2167067600348196 Mon Sep 17 00:00:00 2001 From: alikilickaya Date: Wed, 13 Oct 2021 00:04:45 +0200 Subject: [PATCH] Fix Javadoc in QueryByExampleExecutor. --- .../data/repository/query/QueryByExampleExecutor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java index 71a8831742..f86ed65720 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java @@ -29,12 +29,13 @@ * @param * @author Mark Paluch * @author Christoph Strobl + * @author Ali Kilickaya * @since 1.12 */ public interface QueryByExampleExecutor { /** - * 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.