Skip to content

Commit d0cdf73

Browse files
manzhizhenmp911de
authored andcommitted
Fix parameter documentation order of ZSetOperations methods.
Closes #2214
1 parent 534acdc commit d0cdf73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/springframework/data/redis/core/ZSetOperations.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
7171
* Add {@code value} to a sorted set at {@code key}, or update its {@code score} if it already exists.
7272
*
7373
* @param key must not be {@literal null}.
74-
* @param score the score.
7574
* @param value the value.
75+
* @param score the score.
7676
* @return {@literal null} when used in pipeline / transaction.
7777
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
7878
*/
@@ -83,8 +83,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
8383
* Add {@code value} to a sorted set at {@code key} if it does not already exists.
8484
*
8585
* @param key must not be {@literal null}.
86-
* @param score the score.
8786
* @param value the value.
87+
* @param score the score.
8888
* @return {@literal null} when used in pipeline / transaction.
8989
* @since 2.5
9090
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD NX</a>
@@ -130,8 +130,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
130130
* Increment the score of element with {@code value} in sorted set by {@code increment}.
131131
*
132132
* @param key must not be {@literal null}.
133-
* @param delta
134133
* @param value the value.
134+
* @param delta
135135
* @return {@literal null} when used in pipeline / transaction.
136136
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
137137
*/

0 commit comments

Comments
 (0)