Skip to content

Commit 5f9a13b

Browse files
committed
Fix withDefaultRequestConfigCustomizer method name
Second attempt to fix the method name. Closes gh-43139
1 parent 0c2d5e6 commit 5f9a13b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/HttpComponentsClientHttpRequestFactoryBuilder.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,15 +175,14 @@ public HttpComponentsClientHttpRequestFactoryBuilder withTlsSocketStrategyFactor
175175
* additional customization to the underlying
176176
* {@link org.apache.hc.client5.http.config.RequestConfig.Builder} used for default
177177
* requests.
178-
* @param defaultRequestConfigManagerCustomizer the customizer to apply
178+
* @param defaultRequestConfigCustomizer the customizer to apply
179179
* @return a new {@link HttpComponentsClientHttpRequestFactoryBuilder} instance
180180
*/
181181
public HttpComponentsClientHttpRequestFactoryBuilder withDefaultRequestConfigCustomizer(
182-
Consumer<RequestConfig.Builder> defaultRequestConfigManagerCustomizer) {
183-
Assert.notNull(defaultRequestConfigManagerCustomizer,
184-
"'defaultRequestConfigManagerCustomizer' must not be null");
182+
Consumer<RequestConfig.Builder> defaultRequestConfigCustomizer) {
183+
Assert.notNull(defaultRequestConfigCustomizer, "'defaultRequestConfigCustomizer' must not be null");
185184
return new HttpComponentsClientHttpRequestFactoryBuilder(getCustomizers(), this.httpClientCustomizer,
186-
this.connectionManagerCustomizer, this.socketConfigCustomizer, defaultRequestConfigManagerCustomizer,
185+
this.connectionManagerCustomizer, this.socketConfigCustomizer, defaultRequestConfigCustomizer,
187186
this.tlsSocketStrategyFactory);
188187
}
189188

0 commit comments

Comments
 (0)