Browse Source

removed TODOs that are out of date

pull/6/head
Spencer Gibb 10 years ago
parent
commit
81bc83312c
  1. 1
      spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java
  2. 2
      spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java

1
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/RibbonClientConfiguration.java

@ -64,7 +64,6 @@ public class RibbonClientConfiguration { @@ -64,7 +64,6 @@ public class RibbonClientConfiguration {
@Bean
@ConditionalOnMissingBean
// TODO: move to ribbon.eureka package
public ILoadBalancer ribbonLoadBalancer(IClientConfig config,
ServerListFilter<Server> filter) {
ZoneAwareLoadBalancer<Server> balancer = new ZoneAwareLoadBalancer<>(config);

2
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/ZonePreferenceServerListFilter.java

@ -38,8 +38,6 @@ import com.netflix.loadbalancer.ZoneAffinityServerListFilter; @@ -38,8 +38,6 @@ import com.netflix.loadbalancer.ZoneAffinityServerListFilter;
@EqualsAndHashCode(callSuper = false)
public class ZonePreferenceServerListFilter extends ZoneAffinityServerListFilter<Server> {
// TODO: move out of ribbon.eureka package since it has nothing specific to eureka
private String zone;
@Override

Loading…
Cancel
Save