File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
import java .lang .reflect .Method ;
24
24
import java .util .ArrayList ;
25
25
import java .util .Arrays ;
26
+ import java .util .Collections ;
26
27
import java .util .HashMap ;
27
28
import java .util .HashSet ;
28
29
import java .util .LinkedHashMap ;
@@ -196,10 +197,9 @@ public class ConfigurationClassPostProcessor implements BeanDefinitionRegistryPo
196
197
197
198
private ApplicationStartup applicationStartup = ApplicationStartup .DEFAULT ;
198
199
199
- @ SuppressWarnings ("NullAway.Init" )
200
- private List <PropertySourceDescriptor > propertySourceDescriptors ;
200
+ private List <PropertySourceDescriptor > propertySourceDescriptors = Collections .emptyList ();
201
201
202
- private Map <String , BeanRegistrar > beanRegistrars = new LinkedHashMap <>();
202
+ private final Map <String , BeanRegistrar > beanRegistrars = new LinkedHashMap <>();
203
203
204
204
205
205
@ Override
@@ -842,6 +842,7 @@ private InstantiationDescriptor proxyInstantiationDescriptor(
842
842
}
843
843
}
844
844
845
+
845
846
private static class BeanRegistrarAotContribution implements BeanFactoryInitializationAotContribution {
846
847
847
848
private static final String CUSTOMIZER_MAP_VARIABLE = "customizers" ;
You can’t perform that action at this time.
0 commit comments