Fix parameter documentation order of ZSetOperations methods.

Closes #2214
This commit is contained in:
zhenqiangyi
2021-12-14 19:28:56 +08:00
committed by Mark Paluch
parent f19a61452a
commit 3cf420a8d4

View File

@@ -71,8 +71,8 @@ public interface ZSetOperations<K, V> {
* 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 {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
*/
@@ -83,8 +83,8 @@ public interface ZSetOperations<K, V> {
* Add {@code value} to a sorted set at {@code key} if it does not already exists.
*
* @param key must not be {@literal null}.
* @param score the score.
* @param value the value.
* @param score the score.
* @return {@literal null} when used in pipeline / transaction.
* @since 2.5
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD NX</a>
@@ -130,8 +130,8 @@ public interface ZSetOperations<K, V> {
* 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
* @return {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
*/