diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java index d5292dfa..77b86e4e 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java +++ b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java @@ -64,7 +64,6 @@ public class RibbonClientConfiguration { @Bean @ConditionalOnMissingBean - // TODO: move to ribbon.eureka package public ILoadBalancer ribbonLoadBalancer(IClientConfig config, ServerListFilter filter) { ZoneAwareLoadBalancer balancer = new ZoneAwareLoadBalancer<>(config); diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java index 27e197f7..a8d758b0 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java +++ b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java @@ -38,8 +38,6 @@ import com.netflix.loadbalancer.ZoneAffinityServerListFilter; @EqualsAndHashCode(callSuper = false) public class ZonePreferenceServerListFilter extends ZoneAffinityServerListFilter { - // TODO: move out of ribbon.eureka package since it has nothing specific to eureka - private String zone; @Override