Skip to content

Commit 89e0fec

Browse files
Fix Javadoc issues.
See: #3250 See: #3092
1 parent c2d90a0 commit 89e0fec

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/org/springframework/data/redis/connection/StringRedisConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,7 @@ default Long xDel(@NonNull String key, @NonNull String @NonNull... entryIds) {
31023102
* are deleted concerning consumer groups.
31033103
*
31043104
* @param key the {@literal key} the stream is stored at.
3105-
* @param options the {@link XDelOptions} specifying deletion policy. Use {@link XDelOptions#defaultOptions()} for default behavior.
3105+
* @param options the {@link XDelOptions} specifying deletion policy. Use {@link XDelOptions#defaults()} for default behavior.
31063106
* @param recordIds the id's of the records to remove.
31073107
* @return list of {@link StreamEntryDeletionResult} for each ID: {@link StreamEntryDeletionResult#NOT_FOUND} if no such ID exists,
31083108
* {@link StreamEntryDeletionResult#DELETED} if the entry was deleted,
@@ -3125,7 +3125,7 @@ default List<StreamEntryDeletionResult> xDelEx(@NonNull String key, XDelOptions
31253125
*
31263126
* @param key the {@literal key} the stream is stored at.
31273127
* @param group name of the consumer group.
3128-
* @param options the {@link XDelOptions} specifying deletion policy. Use {@link XDelOptions#defaultOptions()} for default behavior.
3128+
* @param options the {@link XDelOptions} specifying deletion policy. Use {@link XDelOptions#defaults()} for default behavior.
31293129
* @param recordIds the id's of the records to acknowledge and remove.
31303130
* @return list of {@link StreamEntryDeletionResult} for each ID: {@link StreamEntryDeletionResult#DELETED} if
31313131
* the entry was acknowledged and deleted, {@link StreamEntryDeletionResult#NOT_FOUND} if no such ID exists,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ default RecordId add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record) {
176176
* The message is claimed only if its idle time (ms) is greater than the given {@link Duration minimum idle time}
177177
* specified when calling {@literal XCLAIM}.
178178
*
179-
* @param key {@link @NonNull K key} to the steam.
179+
* @param key {@link K key} to the steam.
180180
* @param consumerGroup {@link String name} of the consumer group.
181181
* @param newOwner {@link String name} of the consumer claiming the message.
182182
* @param minIdleTime {@link Duration minimum idle time} required for a message to be claimed.
@@ -198,7 +198,7 @@ default RecordId add(@NonNull MapRecord<K, ? extends HK, ? extends HV> record) {
198198
* The message is claimed only if its idle time (ms) is greater than the given {@link Duration minimum idle time}
199199
* specified when calling {@literal XCLAIM}.
200200
*
201-
* @param key {@link @NonNull K key} to the steam.
201+
* @param key {@link K key} to the steam.
202202
* @param consumerGroup {@link String name} of the consumer group.
203203
* @param newOwner {@link String name} of the consumer claiming the message.
204204
* @param xClaimOptions additional parameters for the {@literal CLAIM} call.

src/main/java/org/springframework/data/redis/util/KeyUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static <T, R> R splitKeys(T[] keys, SourceKeysFunction<T, R> function) {
5555
* the first key and the remaining keys.
5656
* <p>
5757
* This is a <a href="package-summary.html">functional interface</a> whose functional method is
58-
* {@link #apply(Object, Object)}.
58+
* {@link #apply(Object, Object[])}.
5959
*
6060
* @param <T> the type of the first argument to the function.
6161
* @param <R> the type of the result of the function.

0 commit comments

Comments
 (0)