From 2820a77aaf82ea86598e6cc9063d507b95a92c83 Mon Sep 17 00:00:00 2001 From: Chandan Veerabhadrappa Date: Tue, 3 Mar 2026 12:50:56 +0000 Subject: [PATCH 1/2] Fix typo and incorrect Javadoc references in HTTP client builders See gh-49364 Signed-off-by: Chandan Veerabhadrappa --- .../boot/http/client/JettyHttpClientBuilder.java | 12 ++++++------ .../boot/http/client/ReactorHttpClientBuilder.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java index 9fa4a64902a..440711273c9 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java @@ -64,10 +64,10 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional + * Return a new {@link JettyHttpClientBuilder} that applies additional * customization to the underlying {@link HttpClient}. * @param customizer the customizer to apply - * @return a new {@link JettyClientHttpRequestFactoryBuilder} instance + * @return a new {@link JettyHttpClientBuilder} instance */ public JettyHttpClientBuilder withCustomizer(Consumer customizer) { Assert.notNull(customizer, "'customizer' must not be null"); @@ -76,10 +76,10 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional + * Return a new {@link JettyHttpClientBuilder} that applies additional * customization to the underlying {@link HttpClientTransport}. * @param httpClientTransportCustomizer the customizer to apply - * @return a new {@link JettyClientHttpRequestFactoryBuilder} instance + * @return a new {@link JettyHttpClientBuilder} instance */ public JettyHttpClientBuilder withHttpClientTransportCustomizer( Consumer httpClientTransportCustomizer) { @@ -90,10 +90,10 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyClientHttpRequestFactoryBuilder} that applies additional + * Return a new {@link JettyHttpClientBuilder} that applies additional * customization to the underlying {@link ClientConnector}. * @param clientConnectorCustomizerCustomizer the customizer to apply - * @return a new {@link JettyClientHttpRequestFactoryBuilder} instance + * @return a new {@link JettyHttpClientBuilder} instance */ public JettyHttpClientBuilder withClientConnectorCustomizerCustomizer( Consumer clientConnectorCustomizerCustomizer) { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/ReactorHttpClientBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/ReactorHttpClientBuilder.java index 79048857532..3887161f97c 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/ReactorHttpClientBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/ReactorHttpClientBuilder.java @@ -36,7 +36,7 @@ import org.springframework.util.Assert; import org.springframework.util.function.ThrowingConsumer; /** - * Builder that can be used to create a Rector Netty {@link HttpClient}. + * Builder that can be used to create a Reactor Netty {@link HttpClient}. * * @author Phillip Webb * @author Andy Wilkinson From ef0a667edc2e237926faf79380dd6f258562e64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Tue, 3 Mar 2026 14:10:41 +0100 Subject: [PATCH 2/2] Polish contribution See gh-49364 --- .../boot/http/client/JettyHttpClientBuilder.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java index 440711273c9..6469fac7da0 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/http/client/JettyHttpClientBuilder.java @@ -64,8 +64,8 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyHttpClientBuilder} that applies additional - * customization to the underlying {@link HttpClient}. + * Return a new {@link JettyHttpClientBuilder} that applies additional customization + * to the underlying {@link HttpClient}. * @param customizer the customizer to apply * @return a new {@link JettyHttpClientBuilder} instance */ @@ -76,8 +76,8 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyHttpClientBuilder} that applies additional - * customization to the underlying {@link HttpClientTransport}. + * Return a new {@link JettyHttpClientBuilder} that applies additional customization + * to the underlying {@link HttpClientTransport}. * @param httpClientTransportCustomizer the customizer to apply * @return a new {@link JettyHttpClientBuilder} instance */ @@ -90,8 +90,8 @@ public final class JettyHttpClientBuilder { } /** - * Return a new {@link JettyHttpClientBuilder} that applies additional - * customization to the underlying {@link ClientConnector}. + * Return a new {@link JettyHttpClientBuilder} that applies additional customization + * to the underlying {@link ClientConnector}. * @param clientConnectorCustomizerCustomizer the customizer to apply * @return a new {@link JettyHttpClientBuilder} instance */