Skip to content

Commit

Permalink
updating return javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ Zhang committed May 29, 2024
1 parent 467566d commit c618bad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ CompletableFuture<Map<String, String[]>> blmpop(
* @param destination The key to the destination list.
* @param wherefrom The direction the element should be removed from.
* @param whereto The direction the element should be added to.
* @return The popped element or <code>null</code>.
* @return The popped element or <code>null</code> if <code>source</code> does not exist.
* @example
* <pre>{@code
* client.lpush("testKey1", new String[] {"two", "one"}).get();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3802,7 +3802,8 @@ public T lset(@NonNull String key, long index, @NonNull String element) {
* @param destination The key to the destination list.
* @param wherefrom The direction the element should be removed from.
* @param whereto The direction the element should be added to.
* @return Command Response - The popped element or <code>null</code>.
* @return Command Response - The popped element or <code>null</code> if <code>source</code> does
* not exist.
*/
public T lmove(
@NonNull String source,
Expand Down

0 comments on commit c618bad

Please sign in to comment.