Browse Source

Fixes gh-460. Remove unused variable.

pull/466/head
Olga Maciaszek-Sharma 4 years ago
parent
commit
14914b4c97
  1. 2
      spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java

2
spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientsRegistrar.java

@ -164,8 +164,6 @@ class FeignClientsRegistrar
LinkedHashSet<BeanDefinition> candidateComponents = new LinkedHashSet<>(); LinkedHashSet<BeanDefinition> candidateComponents = new LinkedHashSet<>();
Map<String, Object> attrs = metadata Map<String, Object> attrs = metadata
.getAnnotationAttributes(EnableFeignClients.class.getName()); .getAnnotationAttributes(EnableFeignClients.class.getName());
AnnotationTypeFilter annotationTypeFilter = new AnnotationTypeFilter(
FeignClient.class);
final Class<?>[] clients = attrs == null ? null final Class<?>[] clients = attrs == null ? null
: (Class<?>[]) attrs.get("clients"); : (Class<?>[]) attrs.get("clients");
if (clients == null || clients.length == 0) { if (clients == null || clients.length == 0) {

Loading…
Cancel
Save