- final Collection<RpcError> errors = MoreObjects.firstNonNull(result.getErrors(), ImmutableList.<RpcError>of());
- LOG.debug(prefix + " failed: {} -> {}", nodeId.getValue(), Arrays.toString(errors.toArray()));
+ final Collection<RpcError> errors = MoreObjects.firstNonNull(result.getErrors(),
+ ImmutableList.of());
+ LOG.debug("{} failed: {} -> {}", prefix, nodeId.getValue(), errors);