Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Carbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Apr 1, 2024
1 parent d70ba09 commit 83dcd9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion java/client/src/main/java/glide/api/BaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ public CompletableFuture<Long> zcard(@NonNull String key) {
@Override
public CompletableFuture<Map<String, Double>> zpopmax(@NonNull String key, long count) {
return commandManager.submitNewCommand(
ZPopMax, new String[] {key, Long.toString(count)}, this::handleMapResponse);
ZPopMax, new String[] {key, Long.toString(count)}, this::handleMapResponse);
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion java/integTest/src/test/java/glide/SharedCommandTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ public void zpopmax(BaseClient client) {
// Key exists, but it is not a set
assertEquals(OK, client.set(key, "value").get());
ExecutionException executionException =
assertThrows(ExecutionException.class, () -> client.zpopmax(key).get());
assertThrows(ExecutionException.class, () -> client.zpopmax(key).get());
assertTrue(executionException.getCause() instanceof RequestException);
}

Expand Down

0 comments on commit 83dcd9f

Please sign in to comment.