Use consistent key names in RENAME/RENAMENX command documentation.

Closes #2189
This commit is contained in:
Todd Merrill
2021-11-02 16:10:30 +01:00
committed by Mark Paluch
parent 24bd624762
commit 8bc0b150a4

View File

@@ -43,6 +43,7 @@ import org.springframework.util.Assert;
* @author Christoph Strobl
* @author Ninad Divadkar
* @author Mark Paluch
* @author Todd Merrill
*/
public interface RedisOperations<K, V> {
@@ -262,7 +263,7 @@ public interface RedisOperations<K, V> {
void rename(K oldKey, K newKey);
/**
* Rename key {@code oleName} to {@code newKey} only if {@code newKey} does not exist.
* Rename key {@code oldKey} to {@code newKey} only if {@code newKey} does not exist.
*
* @param oldKey must not be {@literal null}.
* @param newKey must not be {@literal null}.