Skip to content

Commit 8bc0b15

Browse files
toddmerrillmp911de
authored andcommitted
Use consistent key names in RENAME/RENAMENX command documentation.
Closes #2189
1 parent 24bd624 commit 8bc0b15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
* @author Christoph Strobl
4444
* @author Ninad Divadkar
4545
* @author Mark Paluch
46+
* @author Todd Merrill
4647
*/
4748
public interface RedisOperations<K, V> {
4849

@@ -262,7 +263,7 @@ <T> T execute(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSer
262263
void rename(K oldKey, K newKey);
263264

264265
/**
265-
* Rename key {@code oleName} to {@code newKey} only if {@code newKey} does not exist.
266+
* Rename key {@code oldKey} to {@code newKey} only if {@code newKey} does not exist.
266267
*
267268
* @param oldKey must not be {@literal null}.
268269
* @param newKey must not be {@literal null}.

0 commit comments

Comments
 (0)