Skip to content

Commit f18ba1e

Browse files
foreveryang321mp911de
authored andcommitted
Fix command reference in Javadoc.
Closes #2176
1 parent 8f7aff3 commit f18ba1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ default Boolean setIfPresent(K key, V value, Duration timeout) {
188188
* not exist.
189189
*
190190
* @param map must not be {@literal null}.
191-
* @param {@literal null} when used in pipeline / transaction.
191+
* @return {@literal null} when used in pipeline / transaction.
192192
* @see <a href="https://redis.io/commands/msetnx">Redis Documentation: MSETNX</a>
193193
*/
194194
@Nullable
@@ -343,7 +343,7 @@ default Boolean setIfPresent(K key, V value, Duration timeout) {
343343
* @param offset
344344
* @return {@literal null} when used in pipeline / transaction.
345345
* @since 1.5
346-
* @see <a href="https://redis.io/commands/setbit">Redis Documentation: GETBIT</a>
346+
* @see <a href="https://redis.io/commands/getbit">Redis Documentation: GETBIT</a>
347347
*/
348348
@Nullable
349349
Boolean getBit(K key, long offset);

0 commit comments

Comments
 (0)