Fix link in Javadoc.

See: #2971
This commit is contained in:
Christoph Strobl
2023-10-13 08:03:56 +02:00
parent b5deb1bc0a
commit 80d20c0cbe

View File

@@ -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