From 8f087f2ee9ce99c5cc798b50e508497b50749801 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Mon, 9 Jan 2017 17:47:13 -0700 Subject: [PATCH] remove unused @EnableConfigurationProperties --- .../AsyncLoadBalancerAutoConfiguration.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/AsyncLoadBalancerAutoConfiguration.java b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/AsyncLoadBalancerAutoConfiguration.java index 694ea703..1195a629 100644 --- a/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/AsyncLoadBalancerAutoConfiguration.java +++ b/spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/AsyncLoadBalancerAutoConfiguration.java @@ -16,21 +16,20 @@ package org.springframework.cloud.client.loadbalancer; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + import org.springframework.beans.factory.SmartInitializingSingleton; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; -import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.client.AsyncClientHttpRequestInterceptor; import org.springframework.web.client.AsyncRestTemplate; -import java.util.ArrayList; -import java.util.Collections; -import java.util.List; - /** * Auto configuration for Ribbon (client side load balancing). * @@ -39,7 +38,6 @@ import java.util.List; @Configuration @ConditionalOnClass(AsyncRestTemplate.class) @ConditionalOnBean(LoadBalancerClient.class) -@EnableConfigurationProperties(LoadBalancerRetryProperties.class) public class AsyncLoadBalancerAutoConfiguration { @LoadBalanced