From 8bc0b150a435393162383cfe5c61a4b06d281f17 Mon Sep 17 00:00:00 2001 From: Todd Merrill Date: Tue, 2 Nov 2021 16:10:30 +0100 Subject: [PATCH] Use consistent key names in `RENAME`/`RENAMENX` command documentation. Closes #2189 --- .../org/springframework/data/redis/core/RedisOperations.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/redis/core/RedisOperations.java b/src/main/java/org/springframework/data/redis/core/RedisOperations.java index 14fdfbba6..41304c827 100644 --- a/src/main/java/org/springframework/data/redis/core/RedisOperations.java +++ b/src/main/java/org/springframework/data/redis/core/RedisOperations.java @@ -43,6 +43,7 @@ import org.springframework.util.Assert; * @author Christoph Strobl * @author Ninad Divadkar * @author Mark Paluch + * @author Todd Merrill */ public interface RedisOperations { @@ -262,7 +263,7 @@ public interface RedisOperations { 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}.