Polish "Use existing properties field"

See gh-17129
This commit is contained in:
Stephane Nicoll
2019-06-13 09:54:51 +02:00
parent 725cbd9bc8
commit 46c2da4a19

View File

@@ -113,7 +113,7 @@ public class WebEndpointAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) {
return new PathMappedEndpoints(properties.getBasePath(), endpointSuppliers);
return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers);
}
@Bean