mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Add more nullability annotations to module/spring-boot-actuator-autoconfigure
See gh-46587
This commit is contained in:
+1
@@ -67,6 +67,7 @@ public final class ManagementContextFactory {
|
||||
}
|
||||
ConfigurableApplicationContext managementContext = ApplicationContextFactory.DEFAULT
|
||||
.create(this.webApplicationType);
|
||||
Assert.state(managementContext != null, "'managementContext' must not be null");
|
||||
managementContext.setEnvironment(childEnvironment);
|
||||
managementContext.setParent(parentContext);
|
||||
return managementContext;
|
||||
|
||||
Reference in New Issue
Block a user