pull/8038/merge
Phillip Webb 8 years ago
parent de50cfa21e
commit b0e06c30a0

@ -166,7 +166,7 @@ public class AutoConfigurationImportSelector
private void checkExcludedClasses(List<String> configurations,
Set<String> exclusions) {
List<String> invalidExcludes = new ArrayList<String>();
List<String> invalidExcludes = new ArrayList<String>(exclusions.size());
for (String exclusion : exclusions) {
if (ClassUtils.isPresent(exclusion, getClass().getClassLoader())
&& !configurations.contains(exclusion)) {

Loading…
Cancel
Save