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 {
@Bean
@ConditionalOnMissingBean
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers,
WebEndpointProperties webEndpointProperties) {
return new PathMappedEndpoints(webEndpointProperties.getBasePath(), endpointSuppliers);
public PathMappedEndpoints pathMappedEndpoints(Collection<EndpointsSupplier<?>> endpointSuppliers) {
return new PathMappedEndpoints(this.properties.getBasePath(), endpointSuppliers);
}
@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