mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix formatting
This commit is contained in:
parent
63f6d872e0
commit
8b2fd6a05a
@ -420,8 +420,7 @@ public class SpringApplication {
|
|||||||
initializers.stream().filter(AotApplicationContextInitializer.class::isInstance).toList());
|
initializers.stream().filter(AotApplicationContextInitializer.class::isInstance).toList());
|
||||||
if (aotInitializers.isEmpty()) {
|
if (aotInitializers.isEmpty()) {
|
||||||
String initializerClassName = this.mainApplicationClass.getName() + "__ApplicationContextInitializer";
|
String initializerClassName = this.mainApplicationClass.getName() + "__ApplicationContextInitializer";
|
||||||
aotInitializers.add(AotApplicationContextInitializer
|
aotInitializers.add(AotApplicationContextInitializer.forInitializerClasses(initializerClassName));
|
||||||
.forInitializerClasses(initializerClassName));
|
|
||||||
}
|
}
|
||||||
initializers.removeAll(aotInitializers);
|
initializers.removeAll(aotInitializers);
|
||||||
initializers.addAll(0, aotInitializers);
|
initializers.addAll(0, aotInitializers);
|
||||||
|
Loading…
Reference in New Issue
Block a user