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 bea01ef36c
commit bfa62bf31d
4 changed files with 4 additions and 4 deletions

View File

@@ -231,7 +231,7 @@ public interface BoundListOperations<K, V> extends BoundKeyOperations<K> {
V getLast();
/**
* 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

@@ -393,7 +393,7 @@ public interface ListOperations<K, V> {
}
/**
* 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

@@ -302,7 +302,7 @@ public interface ReactiveListOperations<K, V> {
}
/**
* 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')));