Fix typos in Javadoc and assertion message.

Closes #2965
This commit is contained in:
Mark Paluch
2024-08-30 14:09:44 +02:00
parent 5909a491dc
commit 1b220676a0
4 changed files with 4 additions and 4 deletions

View File

@@ -213,7 +213,7 @@ public interface BoundListOperations<K, V> extends BoundKeyOperations<K> {
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.

View File

@@ -368,7 +368,7 @@ public interface ListOperations<K, V> {
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

View File

@@ -277,7 +277,7 @@ public interface ReactiveListOperations<K, V> {
Mono<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

View File

@@ -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')));