Browse Source

Fix link in Javadoc.

See: #2971
pull/4528/head
Christoph Strobl 2 years ago
parent
commit
80d20c0cbe
No known key found for this signature in database
GPG Key ID: 8CC1AB53391458C8
  1. 2
      spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java

2
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java

@ -329,7 +329,7 @@ public class MongoQueryMethod extends QueryMethod { @@ -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

Loading…
Cancel
Save