mirror of https://github.com/grpc/grpc-java.git
core: fix linter error
This commit is contained in:
parent
47b11ab7a1
commit
102f0f8ac8
|
@ -72,8 +72,7 @@ public class GracefulSwitchLoadBalancerTest {
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() {
|
public void setUp() {
|
||||||
for (int i = 0; i < lbPolicies.length; i++) {
|
for (String lbPolicy : lbPolicies) {
|
||||||
String lbPolicy = lbPolicies[i];
|
|
||||||
LoadBalancerProvider lbProvider = new FakeLoadBalancerProvider(lbPolicy);
|
LoadBalancerProvider lbProvider = new FakeLoadBalancerProvider(lbPolicy);
|
||||||
lbProviders.put(lbPolicy, lbProvider);
|
lbProviders.put(lbPolicy, lbProvider);
|
||||||
lbRegistry.register(lbProvider);
|
lbRegistry.register(lbProvider);
|
||||||
|
|
Loading…
Reference in New Issue