Polish "Use ConfigDataLocationResolvers' class loader to load resolver names"
See gh-26149
This commit is contained in:
@@ -53,9 +53,8 @@ class ConfigDataLocationResolvers {
|
||||
*/
|
||||
ConfigDataLocationResolvers(DeferredLogFactory logFactory, ConfigurableBootstrapContext bootstrapContext,
|
||||
Binder binder, ResourceLoader resourceLoader) {
|
||||
this(logFactory, bootstrapContext, binder, resourceLoader,
|
||||
SpringFactoriesLoader.loadFactoryNames(ConfigDataLocationResolver.class,
|
||||
ConfigDataLocationResolver.class.getClassLoader()));
|
||||
this(logFactory, bootstrapContext, binder, resourceLoader, SpringFactoriesLoader
|
||||
.loadFactoryNames(ConfigDataLocationResolver.class, ConfigDataLocationResolver.class.getClassLoader()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user