|
|
@ -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) { |
|
|
|