Skip to content

Commit 4c8b5fa

Browse files
committed
refactor: inline SpringApplication.run() method
1 parent 3c9c6a7 commit 4c8b5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/support/spring/boot/ApplicationBootstrap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static void main(String... args) throws LiquibaseException {
5454
}
5555

5656
ConfigurableApplicationContext context =
57-
SpringApplication.run(DefaultStartup.class, args);
57+
new SpringApplication(DefaultStartup.class).run(args);
5858

5959
FeatureManager featureManager = context.getBean(FeatureManager.class);
6060
StaticFeatureManagerProvider.setFeatureManager(featureManager);

0 commit comments

Comments
 (0)