Commit 46c2da4a authored by Stephane Nicoll's avatar Stephane Nicoll

Polish "Use existing properties field"

See gh-17129
parent 725cbd9b
...@@ -113,7 +113,7 @@ public class WebEndpointAutoConfiguration { ...@@ -113,7 +113,7 @@ public class WebEndpointAutoConfiguration {
@Bean @Bean
@ConditionalOnMissingBean @ConditionalOnMissingBean
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) { public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) {
return new PathMappedEndpoints(properties.getBasePath(), endpointSuppliers); return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers);
} }
@Bean @Bean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment