Skip to content

Commit cb1eed4

Browse files
committed
Polish
1 parent e1fd9df commit cb1eed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/ServletManagementContextAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ServletManagementContextFactory servletWebChildContextFactory() {
4949
@Bean
5050
public ManagementServletContext managementServletContext(
5151
WebEndpointProperties properties) {
52-
return () -> properties.getBasePath();
52+
return properties::getBasePath;
5353
}
5454

5555
// Put Servlets and Filters in their own nested class so they don't force early

0 commit comments

Comments
 (0)