From 46c2da4a19466de23ab6afeca7e2ec4095b8806e Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 13 Jun 2019 09:54:51 +0200 Subject: [PATCH] Polish "Use existing properties field" See gh-17129 --- .../endpoint/web/WebEndpointAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java index 39765a6e0d3..2e228666a15 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/WebEndpointAutoConfiguration.java @@ -113,7 +113,7 @@ public class WebEndpointAutoConfiguration { @Bean @ConditionalOnMissingBean public PathMappedEndpoints pathMappedEndpoints(Collection> endpointSuppliers) { - return new PathMappedEndpoints(properties.getBasePath(), endpointSuppliers); + return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers); } @Bean