diff --git a/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java b/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java index 2c0bbb2fa..48ae3ad14 100644 --- a/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java @@ -40,8 +40,8 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Add {@code value} to a sorted set at the bound key, or update its {@code score} if it already exists. * - * @param score the score. * @param value the value. + * @param score the score. * @return {@literal null} when used in pipeline / transaction. * @see Redis Documentation: ZADD */ @@ -51,8 +51,8 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Add {@code value} to a sorted set at {@code key} if it does not already exists. * - * @param score the score. * @param value the value. + * @param score the score. * @return {@literal null} when used in pipeline / transaction. * @since 2.5 * @see Redis Documentation: ZADD NX @@ -94,8 +94,8 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Increment the score of element with {@code value} in sorted set by {@code increment}. * - * @param delta * @param value the value. + * @param delta the delta to add. Can be negative. * @return {@literal null} when used in pipeline / transaction. * @see Redis Documentation: ZINCRBY */ diff --git a/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java b/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java index 2725691c6..99e298101 100644 --- a/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java @@ -42,8 +42,8 @@ public interface ReactiveZSetOperations { * Add {@code value} to a sorted set at {@code key}, or update its {@code score} if it already exists. * * @param key must not be {@literal null}. - * @param score the score. * @param value the value. + * @param score the score. * @return * @see Redis Documentation: ZADD */ @@ -73,8 +73,8 @@ public interface ReactiveZSetOperations { * Increment the score of element with {@code value} in sorted set by {@code increment}. * * @param key must not be {@literal null}. - * @param delta * @param value the value. + * @param delta the delta to add. Can be negative. * @return * @see Redis Documentation: ZINCRBY */ diff --git a/src/main/java/org/springframework/data/redis/core/ZSetOperations.java b/src/main/java/org/springframework/data/redis/core/ZSetOperations.java index b88649170..7b02a454a 100644 --- a/src/main/java/org/springframework/data/redis/core/ZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ZSetOperations.java @@ -126,7 +126,7 @@ public interface ZSetOperations { * * @param key must not be {@literal null}. * @param value the value. - * @param delta + * @param delta the delta to add. Can be negative. * @return {@literal null} when used in pipeline / transaction. * @see Redis Documentation: ZINCRBY */