Skip to content

Commit

Permalink
Fix link in Javadoc.
Browse files Browse the repository at this point in the history
See: #2971
  • Loading branch information
christophstrobl committed Oct 13, 2023
1 parent b5deb1b commit 80d20c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public boolean hasAnnotatedReadPreference() {
/**
* 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
Expand Down

0 comments on commit 80d20c0

Please sign in to comment.