remove redundant code

pull/300/head
weihu 3 years ago
parent eaba23dc6f
commit 01d44e964d

@ -48,7 +48,6 @@ public class PolarisRestTemplateRegisterAutoConfiguration implements Application
Map<String, Object> beans = this.applicationContext.getBeansWithAnnotation(LoadBalanced.class);
if (!ObjectUtils.isEmpty(beans)) {
beans.forEach(this::initRestTemplate);
this.applicationContext.getBean(RestTemplate.class);
}
}

Loading…
Cancel
Save