Skip to content

Commit

Permalink
Fix typo in ReadFrom #2213
Browse files Browse the repository at this point in the history
  • Loading branch information
h-marvin authored Oct 7, 2022
1 parent 0d80d97 commit 2b6cbc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/lettuce/core/ReadFrom.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public abstract class ReadFrom {
public static final ReadFrom UPSTREAM_PREFERRED = new ReadFromImpl.ReadFromUpstreamPreferred();

/**
* Setting to read preferred from replica and fall back to upstream if no replica is not available.
* Setting to read preferred from replica and fall back to upstream if no replica is available.
*
* @since 5.2
*/
public static final ReadFrom REPLICA_PREFERRED = new ReadFromImpl.ReadFromReplicaPreferred();

/**
* Setting to read preferred from replicas and fall back to upstream if no replica is not available.
* Setting to read preferred from replicas and fall back to upstream if no replica is available.
*
* @since 4.4
* @deprecated Renamed to {@link #REPLICA_PREFERRED}.
Expand Down

0 comments on commit 2b6cbc9

Please sign in to comment.