From 982220a030176a516c23219eb490205cdc55ef92 Mon Sep 17 00:00:00 2001 From: Marvin Hoffmann Date: Fri, 7 Oct 2022 13:51:10 +0200 Subject: [PATCH] Fix typo in `ReadFrom` #2213 --- src/main/java/io/lettuce/core/ReadFrom.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/lettuce/core/ReadFrom.java b/src/main/java/io/lettuce/core/ReadFrom.java index 1b216b6f2d..ab6a01acf4 100644 --- a/src/main/java/io/lettuce/core/ReadFrom.java +++ b/src/main/java/io/lettuce/core/ReadFrom.java @@ -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}.