Skip to content

Commit 1b22067

Browse files
committed
Fix typos in Javadoc and assertion message.
Closes #2965
1 parent 5909a49 commit 1b22067

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/main/java/org/springframework/data/redis/core/BoundListOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public interface BoundListOperations<K, V> extends BoundKeyOperations<K> {
213213
Long remove(long count, Object value);
214214

215215
/**
216-
* Get element at {@code index} form list at the bound key.
216+
* Get element at {@code index} from list at the bound key.
217217
*
218218
* @param index
219219
* @return {@literal null} when used in pipeline / transaction.

src/main/java/org/springframework/data/redis/core/ListOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ default V move(K sourceKey, Direction from, K destinationKey, Direction to, Dura
368368
Long remove(K key, long count, Object value);
369369

370370
/**
371-
* Get element at {@code index} form list at {@code key}.
371+
* Get element at {@code index} from list at {@code key}.
372372
*
373373
* @param key must not be {@literal null}.
374374
* @param index

src/main/java/org/springframework/data/redis/core/ReactiveListOperations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ default Mono<V> move(MoveFrom<K> from, MoveTo<K> to, Duration timeout) {
277277
Mono<Long> remove(K key, long count, Object value);
278278

279279
/**
280-
* Get element at {@code index} form list at {@code key}.
280+
* Get element at {@code index} from list at {@code key}.
281281
*
282282
* @param key must not be {@literal null}.
283283
* @param index

src/main/java/org/springframework/data/redis/core/types/RedisClientInfo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public static class RedisClientInfoBuilder {
269269

270270
public static RedisClientInfo fromString(String source) {
271271

272-
Assert.notNull(source, "Cannot read client properties form 'null'");
272+
Assert.notNull(source, "Cannot read client properties from 'null'");
273273
Properties properties = new Properties();
274274
try {
275275
properties.load(new StringReader(source.replace(' ', '\n')));

0 commit comments

Comments
 (0)