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 8f883d68b..70cb8344f 100644 --- a/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/BoundZSetOperations.java @@ -45,8 +45,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 */ @@ -56,8 +56,8 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Add {@code value} to a sorted set at the bound 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 @@ -99,8 +99,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 */ @@ -119,7 +119,7 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Get {@code count} distinct random elements from set at the bound key. * - * @param count nr of members to return + * @param count number of members to return. * @return empty {@link Set} if {@code key} does not exist. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -131,7 +131,7 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Get {@code count} random elements from set at the bound key. * - * @param count nr of members to return. + * @param count number of members to return. * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -152,7 +152,7 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Get {@code count} distinct random elements with their score from set at the bound key. * - * @param count nr of members to return + * @param count number of members to return. * @return empty {@link Set} if {@code key} does not exist. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -164,7 +164,7 @@ public interface BoundZSetOperations extends BoundKeyOperations { /** * Get {@code count} random elements with their score from set at the bound key. * - * @param count nr of members to return. + * @param count number of members to return. * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction. * @throws IllegalArgumentException if count is negative. * @since 2.6 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 f6b51f9ba..2fd239d40 100644 --- a/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ReactiveZSetOperations.java @@ -45,8 +45,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 */ @@ -76,8 +76,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 */ @@ -97,7 +97,7 @@ public interface ReactiveZSetOperations { * Get {@code count} distinct random elements from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return + * @param count number of members to return. * @return * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -109,7 +109,7 @@ public interface ReactiveZSetOperations { * Get {@code count} random elements from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return. + * @param count number of members to return. * @return * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -131,7 +131,7 @@ public interface ReactiveZSetOperations { * Get {@code count} distinct random elements with their score from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return + * @param count number of members to return. * @return * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -143,7 +143,7 @@ public interface ReactiveZSetOperations { * Get {@code count} random elements with their score from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return. + * @param count number of members to return. * @return * @throws IllegalArgumentException if count is negative. * @since 2.6 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 9278caa27..ece1603c6 100644 --- a/src/main/java/org/springframework/data/redis/core/ZSetOperations.java +++ b/src/main/java/org/springframework/data/redis/core/ZSetOperations.java @@ -131,7 +131,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 */ @@ -152,7 +152,7 @@ public interface ZSetOperations { * Get {@code count} distinct random elements from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return + * @param count number of members to return. * @return empty {@link Set} if {@code key} does not exist. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -165,7 +165,7 @@ public interface ZSetOperations { * Get {@code count} random elements from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return. + * @param count number of members to return. * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -188,7 +188,7 @@ public interface ZSetOperations { * Get {@code count} distinct random elements with their score from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return + * @param count number of members to return. * @return empty {@link Set} if {@code key} does not exist. * @throws IllegalArgumentException if count is negative. * @since 2.6 @@ -201,7 +201,7 @@ public interface ZSetOperations { * Get {@code count} random elements with their score from set at {@code key}. * * @param key must not be {@literal null}. - * @param count nr of members to return. + * @param count number of members to return. * @return empty {@link List} if {@code key} does not exist or {@literal null} when used in pipeline / transaction. * @throws IllegalArgumentException if count is negative. * @since 2.6