From 80d20c0cbe1cf7f311355af3c1cc4da287590b4e Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Fri, 13 Oct 2023 08:03:56 +0200 Subject: [PATCH] Fix link in Javadoc. See: #2971 --- .../data/mongodb/repository/query/MongoQueryMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java index 426e393d8..1d01c877b 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java @@ -329,7 +329,7 @@ public class MongoQueryMethod extends QueryMethod { /** * Get the {@link com.mongodb.ReadPreference} extracted from the {@link ReadPreference} annotation. * - * @return the name of the {@link ReadPreference()}. + * @return the name of the {@link ReadPreference}. * @throws IllegalStateException if method not annotated with {@link Query}. Make sure to check * {@link #hasAnnotatedReadPreference()} first. * @since 4.2