Skip to content

Commit 80d20c0

Browse files
Fix link in Javadoc.
See: #2971
1 parent b5deb1b commit 80d20c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public boolean hasAnnotatedReadPreference() {
329329
/**
330330
* Get the {@link com.mongodb.ReadPreference} extracted from the {@link ReadPreference} annotation.
331331
*
332-
* @return the name of the {@link ReadPreference()}.
332+
* @return the name of the {@link ReadPreference}.
333333
* @throws IllegalStateException if method not annotated with {@link Query}. Make sure to check
334334
* {@link #hasAnnotatedReadPreference()} first.
335335
* @since 4.2

0 commit comments

Comments
 (0)