mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 00:09:02 +00:00
Polishing
This commit is contained in:
+3
-3
@@ -674,9 +674,9 @@ public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPo
|
||||
|
||||
private void registerRuntimeHints(RuntimeHints hints) {
|
||||
for (PropertySourceDescriptor descriptor : this.descriptors) {
|
||||
Class<?> factory = descriptor.propertySourceFactory();
|
||||
if (factory != null) {
|
||||
hints.reflection().registerType(factory, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
|
||||
Class<?> factoryClass = descriptor.propertySourceFactory();
|
||||
if (factoryClass != null) {
|
||||
hints.reflection().registerType(factoryClass, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS);
|
||||
}
|
||||
for (String location : descriptor.locations()) {
|
||||
Resource resource = this.resourceResolver.apply(location);
|
||||
|
||||
Reference in New Issue
Block a user