Skip to content

Commit b67f133

Browse files
toddmerrillmp911de
authored andcommitted
Use consistent key names in RENAME/RENAMENX command documentation.
Closes #2189
1 parent bc50822 commit b67f133

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
* @author Ninad Divadkar
4545
* @author Mark Paluch
4646
* @author ihaohong
47+
* @author Todd Merrill
4748
*/
4849
public interface RedisOperations<K, V> {
4950

@@ -277,7 +278,7 @@ <T> T execute(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSer
277278
void rename(K oldKey, K newKey);
278279

279280
/**
280-
* Rename key {@code oleName} to {@code newKey} only if {@code newKey} does not exist.
281+
* Rename key {@code oldKey} to {@code newKey} only if {@code newKey} does not exist.
281282
*
282283
* @param oldKey must not be {@literal null}.
283284
* @param newKey must not be {@literal null}.

0 commit comments

Comments
 (0)