mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
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…
Reference in New Issue
Block a user