Fixes gh-460. Remove unused variable.

This commit is contained in:
Olga Maciaszek-Sharma
2021-01-19 12:48:11 +01:00
parent 6bfb1edcf1
commit 14914b4c97

View File

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