diff --git a/src/main/java/org/springframework/data/redis/core/ListOperations.java b/src/main/java/org/springframework/data/redis/core/ListOperations.java index 01c2848c9f..b838754b50 100644 --- a/src/main/java/org/springframework/data/redis/core/ListOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ListOperations.java @@ -525,7 +525,7 @@ default V rightPop(K key, Duration timeout) { V rightPopAndLeftPush(K sourceKey, K destinationKey); /** - * Remove the last element from list at {@code srcKey}, append it to {@code dstKey} and return its value.
+ * Remove the last element from list at {@code sourceKey}, append it to {@code destinationKey} and return its value.
* Blocks connection until element available or {@code timeout} reached. * * @param sourceKey must not be {@literal null}. @@ -539,7 +539,7 @@ default V rightPop(K key, Duration timeout) { V rightPopAndLeftPush(K sourceKey, K destinationKey, long timeout, TimeUnit unit); /** - * Remove the last element from list at {@code srcKey}, append it to {@code dstKey} and return its value.
+ * Remove the last element from list at {@code sourceKey}, append it to {@code destinationKey} and return its value.
* Blocks connection until element available or {@code timeout} reached. * * @param sourceKey must not be {@literal null}.