diff --git a/src/main/java/org/springframework/data/redis/connection/StringRedisConnection.java b/src/main/java/org/springframework/data/redis/connection/StringRedisConnection.java index 8792adc6b..fa81f982b 100644 --- a/src/main/java/org/springframework/data/redis/connection/StringRedisConnection.java +++ b/src/main/java/org/springframework/data/redis/connection/StringRedisConnection.java @@ -204,7 +204,7 @@ public interface StringRedisConnection extends RedisConnection { /** * Rename key {@code oldKey} to {@code newKey} only if {@code newKey} does not exist. * - * @param oldName must not be {@literal null}. + * @param oldKey must not be {@literal null}. * @param newKey must not be {@literal null}. * @return * @see Redis Documentation: RENAMENX