Skip to content

Commit 0c30a59

Browse files
committed
Polish "Use ConfigDataLocationResolvers' class loader to load resolver names"
See gh-26149
1 parent 4268f8d commit 0c30a59

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/config/ConfigDataLocationResolvers.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ class ConfigDataLocationResolvers {
5353
*/
5454
ConfigDataLocationResolvers(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext,
5555
Binder binder, ResourceLoader resourceLoader) {
56-
this(logFactory, bootstrapContext, binder, resourceLoader,
57-
SpringFactoriesLoader.loadFactoryNames(ConfigDataLocationResolver.class,
58-
ConfigDataLocationResolver.class.getClassLoader()));
56+
this(logFactory, bootstrapContext, binder, resourceLoader, SpringFactoriesLoader
57+
.loadFactoryNames(ConfigDataLocationResolver.class, ConfigDataLocationResolver.class.getClassLoader()));
5958
}
6059

6160
/**

0 commit comments

Comments
 (0)