Skip to content

Commit 1ceb7ed

Browse files
Polishing.
Updated more javadocs where reference to a Redis command was invalid. Original pull request: #3047 See: #3047
1 parent 2b066a4 commit 1ceb7ed

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public interface ReactiveValueOperations<K, V> {
5454
* @param key must not be {@literal null}.
5555
* @param value
5656
* @param timeout must not be {@literal null}.
57-
* @see <a href="https://redis.io/commands/setex">Redis Documentation: SETEX</a>
57+
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
5858
*/
5959
Mono<Boolean> set(K key, V value, Duration timeout);
6060

@@ -281,13 +281,15 @@ public interface ReactiveValueOperations<K, V> {
281281
* @param command must not be {@literal null}.
282282
* @return
283283
* @since 2.1
284+
* @see <a href="https://redis.io/commands/bitfield">Redis Documentation: BITFIELD</a>
284285
*/
285286
Mono<List<Long>> bitField(K key, BitFieldSubCommands command);
286287

287288
/**
288289
* Removes the given {@literal key}.
289290
*
290291
* @param key must not be {@literal null}.
292+
* @see <a href="https://redis.io/commands/del">Redis Documentation: DEL</a>
291293
*/
292294
Mono<Boolean> delete(K key);
293295
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public interface ValueOperations<K, V> {
6262
* @param value must not be {@literal null}.
6363
* @param timeout must not be {@literal null}.
6464
* @throws IllegalArgumentException if either {@code key}, {@code value} or {@code timeout} is not present.
65-
* @see <a href="https://redis.io/commands/setex">Redis Documentation: SETEX</a>
65+
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
6666
* @since 2.1
6767
*/
6868
default void set(K key, V value, Duration timeout) {
@@ -82,7 +82,7 @@ default void set(K key, V value, Duration timeout) {
8282
* @param key must not be {@literal null}.
8383
* @param value must not be {@literal null}.
8484
* @return {@literal null} when used in pipeline / transaction.
85-
* @see <a href="https://redis.io/commands/setnx">Redis Documentation: SETNX</a>
85+
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
8686
*/
8787
@Nullable
8888
Boolean setIfAbsent(K key, V value);

0 commit comments

Comments
 (0)