diff --git a/src/main/java/org/springframework/data/redis/core/BoundListOperations.java b/src/main/java/org/springframework/data/redis/core/BoundListOperations.java index 9c429deba..b1107f9db 100644 --- a/src/main/java/org/springframework/data/redis/core/BoundListOperations.java +++ b/src/main/java/org/springframework/data/redis/core/BoundListOperations.java @@ -213,7 +213,7 @@ public interface BoundListOperations extends BoundKeyOperations { Long remove(long count, Object value); /** - * Get element at {@code index} form list at the bound key. + * Get element at {@code index} from list at the bound key. * * @param index * @return {@literal null} when used in pipeline / transaction. diff --git a/src/main/java/org/springframework/data/redis/core/ListOperations.java b/src/main/java/org/springframework/data/redis/core/ListOperations.java index f5c894838..228067a39 100644 --- a/src/main/java/org/springframework/data/redis/core/ListOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ListOperations.java @@ -368,7 +368,7 @@ public interface ListOperations { Long remove(K key, long count, Object value); /** - * Get element at {@code index} form list at {@code key}. + * Get element at {@code index} from list at {@code key}. * * @param key must not be {@literal null}. * @param index diff --git a/src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java b/src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java index 6a701c2ea..6df9f39de 100644 --- a/src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java @@ -277,7 +277,7 @@ public interface ReactiveListOperations { Mono remove(K key, long count, Object value); /** - * Get element at {@code index} form list at {@code key}. + * Get element at {@code index} from list at {@code key}. * * @param key must not be {@literal null}. * @param index diff --git a/src/main/java/org/springframework/data/redis/core/types/RedisClientInfo.java b/src/main/java/org/springframework/data/redis/core/types/RedisClientInfo.java index 898c25b18..3db864730 100644 --- a/src/main/java/org/springframework/data/redis/core/types/RedisClientInfo.java +++ b/src/main/java/org/springframework/data/redis/core/types/RedisClientInfo.java @@ -269,7 +269,7 @@ public class RedisClientInfo { public static RedisClientInfo fromString(String source) { - Assert.notNull(source, "Cannot read client properties form 'null'"); + Assert.notNull(source, "Cannot read client properties from 'null'"); Properties properties = new Properties(); try { properties.load(new StringReader(source.replace(' ', '\n')));