Skip to content

Commit db50e94

Browse files
committed
run format
Signed-off-by: yongjunhong <[email protected]>
1 parent 20a225c commit db50e94

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

module/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementContextFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public ConfigurableApplicationContext createManagementContext(ApplicationContext
7979
return managementContext;
8080
}
8181

82-
private boolean isManagementPropertySource(PropertySource<?> propertySource, ConfigurableEnvironment childEnvironment) {
82+
private boolean isManagementPropertySource(PropertySource<?> propertySource,
83+
ConfigurableEnvironment childEnvironment) {
8384
return propertySource.getName().contains("management")
8485
&& !childEnvironment.getPropertySources().contains(propertySource.getName());
8586
}

module/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementContextFactoryTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ public Object getProperty(String name) {
5757
ConfigurableEnvironment childEnvironment = managementContext.getEnvironment();
5858
assertThat(childEnvironment.getPropertySources().contains("managementProperty")).isTrue();
5959
}
60-
}
60+
61+
}

0 commit comments

Comments
 (0)