diff --git a/server/src/main/java/io/druid/server/router/TieredBrokerSelectorStrategiesProvider.java b/server/src/main/java/io/druid/server/router/TieredBrokerSelectorStrategiesProvider.java index 7e3ea6ae472..268ae31407b 100644 --- a/server/src/main/java/io/druid/server/router/TieredBrokerSelectorStrategiesProvider.java +++ b/server/src/main/java/io/druid/server/router/TieredBrokerSelectorStrategiesProvider.java @@ -19,8 +19,6 @@ package io.druid.server.router; -import com.google.api.client.util.Lists; -import com.google.common.base.Throwables; import com.google.inject.Inject; import com.google.inject.Provider; @@ -30,17 +28,12 @@ import java.util.List; */ public class TieredBrokerSelectorStrategiesProvider implements Provider> { - private final List strategies = Lists.newArrayList(); + private final List strategies; @Inject public TieredBrokerSelectorStrategiesProvider(TieredBrokerConfig config) { - try { - this.strategies.addAll(config.getStrategies()); - } - catch (Exception e) { - throw Throwables.propagate(e); - } + this.strategies = config.getStrategies(); } @Override