Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
bryce-anderson committed Oct 26, 2023
1 parent d18d4f7 commit c428ca9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Spliterator;
import java.util.concurrent.ThreadLocalRandom;
Expand Down Expand Up @@ -347,8 +346,8 @@ private List<Host<ResolvedAddress, C>> markHostAsExpired(

private Host<ResolvedAddress, C> createHost(ResolvedAddress addr) {
// All hosts will share the healthcheck config of the parent RR loadbalancer.
Host<ResolvedAddress, C> host = new Host<>(NewRoundRobinLoadBalancer.this.toString(), addr, connectionFactory,
linearSearchSpace, healthCheckConfig);
Host<ResolvedAddress, C> host = new Host<>(NewRoundRobinLoadBalancer.this.toString(), addr,
connectionFactory, linearSearchSpace, healthCheckConfig);
host.onClose().afterFinally(() ->
usedHostsUpdater.updateAndGet(NewRoundRobinLoadBalancer.this, previousHosts -> {
@SuppressWarnings("unchecked")
Expand Down

0 comments on commit c428ca9

Please sign in to comment.