core: fix linter error

This commit is contained in:
Jihun Cho 2019-07-24 13:29:19 -07:00
parent 47b11ab7a1
commit 102f0f8ac8
1 changed files with 1 additions and 2 deletions

View File

@ -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);