Skip to content

Commit 46c2da4

Browse files
committed
Polish "Use existing properties field"
See gh-17129
1 parent 725cbd9 commit 46c2da4

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/endpoint/web/WebEndpointAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public ControllerEndpointDiscoverer controllerEndpointDiscoverer(ObjectProvider<
113113
@Bean
114114
@ConditionalOnMissingBean
115115
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) {
116-
return new PathMappedEndpoints(properties.getBasePath(), endpointSuppliers);
116+
return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers);
117117
}
118118

119119
@Bean

0 commit comments

Comments
 (0)