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 bc50822dfb
commit b67f1339b2

View File

@@ -44,6 +44,7 @@ import org.springframework.util.Assert;
* @author Ninad Divadkar
* @author Mark Paluch
* @author ihaohong
* @author Todd Merrill
*/
public interface RedisOperations<K, V> {
@@ -277,7 +278,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}.