Skip to content

Commit 4d2b723

Browse files
Minor javadoc update.
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent 05b87d3 commit 4d2b723

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

java/client/src/main/java/glide/api/commands/BaseCommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public interface BaseCommands<T> {
2222
* <p><code>
2323
* Object result = client.customCommand(new String[]{ "CLIENT", "LIST", "TYPE", "PUBSUB" }).get();
2424
* </code>
25-
* @param args Arguments for the custom command
25+
* @param args Arguments for the custom command including the command name
2626
* @return A <em>CompletableFuture</em> with response result from Redis
2727
*/
2828
CompletableFuture<T> customCommand(String[] args);

java/client/src/main/java/glide/api/commands/ClusterBaseCommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public interface ClusterBaseCommands<T> extends BaseCommands<T> {
2323
* <p><code>
2424
* Object result = client.customCommand(new String[]{ "CLIENT", "LIST", "TYPE", "PUBSUB" }).get();
2525
* </code>
26-
* @param args Arguments for the custom command
26+
* @param args Arguments for the custom command including the command name
2727
* @param route Routing configuration for the command
2828
* @return A <em>CompletableFuture</em> with response result from Redis
2929
*/

java/client/src/main/java/glide/api/models/ClusterValue.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
* @param <T> The wrapped data type
99
*/
1010
public class ClusterValue<T> {
11-
/** Get per-node value. */
1211
private Map<String, T> multiValue = null;
1312

14-
/** Get the single value. */
1513
private T singleValue = null;
1614

1715
private ClusterValue() {}
1816

17+
/** Get per-node value. */
1918
public Map<String, T> getMultiValue() {
2019
assert hasMultiData();
2120
return multiValue;
2221
}
2322

23+
/** Get the single value. */
2424
public T getSingleValue() {
2525
assert !hasMultiData();
2626
return singleValue;

0 commit comments

Comments
 (0)