Skip to content

Commit 6f949f5

Browse files
manzhizhenmp911de
authored andcommitted
Fix parameter documentation order of ZSetOperations methods.
Closes #2214
1 parent 32d828c commit 6f949f5

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
@@ -66,8 +66,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
6666
* Add {@code value} to a sorted set at {@code key}, or update its {@code score} if it already exists.
6767
*
6868
* @param key must not be {@literal null}.
69-
* @param score the score.
7069
* @param value the value.
70+
* @param score the score.
7171
* @return {@literal null} when used in pipeline / transaction.
7272
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
7373
*/
@@ -78,8 +78,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
7878
* Add {@code value} to a sorted set at {@code key} if it does not already exists.
7979
*
8080
* @param key must not be {@literal null}.
81-
* @param score the score.
8281
* @param value the value.
82+
* @param score the score.
8383
* @return {@literal null} when used in pipeline / transaction.
8484
* @since 2.5
8585
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD NX</a>
@@ -125,8 +125,8 @@ static <V> TypedTuple<V> of(V value, @Nullable Double score) {
125125
* Increment the score of element with {@code value} in sorted set by {@code increment}.
126126
*
127127
* @param key must not be {@literal null}.
128-
* @param delta
129128
* @param value the value.
129+
* @param delta
130130
* @return {@literal null} when used in pipeline / transaction.
131131
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
132132
*/

0 commit comments

Comments
 (0)