Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bfa62bf

Browse files
committed
Fix typos in Javadoc and assertion message.
Closes #2965
1 parent bea01ef commit bfa62bf

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‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public interface BoundListOperations<K, V> extends BoundKeyOperations<K> {
231231
V getLast();
232232

233233
/**
234-
* Get element at {@code index} form list at the bound key.
234+
* Get element at {@code index} from list at the bound key.
235235
*
236236
* @param index
237237
* @return {@literal null} when used in pipeline / transaction.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ default V getLast(K key) {
393393
}
394394

395395
/**
396-
* Get element at {@code index} form list at {@code key}.
396+
* Get element at {@code index} from list at {@code key}.
397397
*
398398
* @param key must not be {@literal null}.
399399
* @param index

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ default Mono<V> getLast(K key) {
302302
}
303303

304304
/**
305-
* Get element at {@code index} form list at {@code key}.
305+
* Get element at {@code index} from list at {@code key}.
306306
*
307307
* @param key must not be {@literal null}.
308308
* @param index

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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /