We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5deb1b commit 80d20c0Copy full SHA for 80d20c0
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/query/MongoQueryMethod.java
@@ -329,7 +329,7 @@ public boolean hasAnnotatedReadPreference() {
329
/**
330
* Get the {@link com.mongodb.ReadPreference} extracted from the {@link ReadPreference} annotation.
331
*
332
- * @return the name of the {@link ReadPreference()}.
+ * @return the name of the {@link ReadPreference}.
333
* @throws IllegalStateException if method not annotated with {@link Query}. Make sure to check
334
* {@link #hasAnnotatedReadPreference()} first.
335
* @since 4.2
0 commit comments