Skip to content

Commit 4823b8e

Browse files
committed
Merge branch '2.7.x'
Closes gh-32104
2 parents e697777 + 3fcfcc4 commit 4823b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/AutoConfigurationImportSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ protected void handleInvalidExcludes(List<String> invalidExcludes) {
235235
protected Set<String> getExclusions(AnnotationMetadata metadata, AnnotationAttributes attributes) {
236236
Set<String> excluded = new LinkedHashSet<>();
237237
excluded.addAll(asList(attributes, "exclude"));
238-
excluded.addAll(Arrays.asList(attributes.getStringArray("excludeName")));
238+
excluded.addAll(asList(attributes, "excludeName"));
239239
excluded.addAll(getExcludeAutoConfigurationsProperty());
240240
return excluded;
241241
}

0 commit comments

Comments
 (0)