Skip to content

Commit

Permalink
Java: misc fixes (valkey-io#1256)
Browse files Browse the repository at this point in the history
Java: misc fixes (#201)

* Update javadocs.



* Minor fixes there and here.



---------

Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand authored Apr 10, 2024
1 parent 0a430cf commit adde68c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 64 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public interface ConnectionManagementClusterCommands {
* @param route Specifies the routing configuration for the command. The client will route the
* command to the nodes defined by <code>route</code>.
* @return The provided <code>message</code>.
* @examples
* @example
* <pre>{@code
* // Command sent to a single random node via RANDOM route, expecting a SingleValue result.
* String message = client.echo("GLIDE", RANDOM).get().getSingleValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ CompletableFuture<Map<String, Double>> zrangeWithScores(
/**
* Returns the rank of <code>member</code> in the sorted set stored at <code>key</code>, with
* scores ordered from low to high.<br>
* To get the rank of <code>member</code> with it's score, see <code>zrankWithScore</code>.
* To get the rank of <code>member</code> with its score, see {@link #zrankWithScore}.
*
* @see <a href="https://redis.io/commands/zrank/">redis.io</a> for more details.
* @param key The key of the sorted set.
Expand All @@ -436,7 +436,7 @@ CompletableFuture<Map<String, Double>> zrangeWithScores(
CompletableFuture<Long> zrank(String key, String member);

/**
* Returns the rank of <code>member</code> in the sorted set stored at <code>key</code> with it's
* Returns the rank of <code>member</code> in the sorted set stored at <code>key</code> with its
* score, where scores are ordered from the lowest to highest.
*
* @see <a href="https://redis.io/commands/zrank/">redis.io</a> for more details.
Expand Down
Loading

0 comments on commit adde68c

Please sign in to comment.