Commit 4748626f authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #17129 from dlsrb6342

* pr/17129:
  Polish "Use existing properties field"
  Use existing properties field

Closes gh-17129
parents e0aa90cf 46c2da4a
...@@ -112,9 +112,8 @@ public class WebEndpointAutoConfiguration { ...@@ -112,9 +112,8 @@ public class WebEndpointAutoConfiguration {
@Bean @Bean
@ConditionalOnMissingBean @ConditionalOnMissingBean
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers, public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) {
WebEndpointProperties webEndpointProperties) { return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers);
return new PathMappedEndpoints(webEndpointProperties.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