diff --git a/redisson/src/main/java/org/redisson/command/CommandAsyncService.java b/redisson/src/main/java/org/redisson/command/CommandAsyncService.java index 3a066f512..5ea9c4628 100644 --- a/redisson/src/main/java/org/redisson/command/CommandAsyncService.java +++ b/redisson/src/main/java/org/redisson/command/CommandAsyncService.java @@ -566,7 +566,7 @@ public class CommandAsyncService implements CommandAsyncExecutor { if (details.getAttempt() == connectionManager.getConfig().getRetryAttempts()) { if (details.getException() == null) { - details.setException(new RedisTimeoutException("Unable to send command: " + command + " with params: " + LogHelper.toString(details.getParams() + " after " + connectionManager.getConfig().getRetryAttempts() + " retry attempts"))); + details.setException(new RedisTimeoutException("Unable to send command: " + command + " with params: " + LogHelper.toString(details.getParams()) + " after " + connectionManager.getConfig().getRetryAttempts() + " retry attempts")); } details.getAttemptPromise().tryFailure(details.getException()); return; @@ -712,7 +712,7 @@ public class CommandAsyncService implements CommandAsyncExecutor { final Timeout scheduledFuture; if (popTimeout != 0) { - // to handle cases when connection has been lost + // handling cases when connection has been lost final Channel orignalChannel = connection.getChannel(); scheduledFuture = connectionManager.newTimeout(new TimerTask() { @Override diff --git a/redisson/src/main/java/org/redisson/executor/RedissonExecutorBatchFuture.java b/redisson/src/main/java/org/redisson/executor/RedissonExecutorBatchFuture.java index b3f04bc4a..5d86ad7c0 100644 --- a/redisson/src/main/java/org/redisson/executor/RedissonExecutorBatchFuture.java +++ b/redisson/src/main/java/org/redisson/executor/RedissonExecutorBatchFuture.java @@ -39,7 +39,7 @@ public class RedissonExecutorBatchFuture extends RedissonPromise implement final AtomicInteger counter = new AtomicInteger(futures.size()); for (RExecutorFuture future : futures) { - future.addListener(new FutureListener() { + future.addListener(new FutureListener() { @Override public void operationComplete(Future future) throws Exception { if (!future.isSuccess()) {