diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/webservices/client/HttpWebServiceMessageSenderBuilder.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/webservices/client/HttpWebServiceMessageSenderBuilder.java index 5d25c93e601a..4e162e8c195c 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/webservices/client/HttpWebServiceMessageSenderBuilder.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/webservices/client/HttpWebServiceMessageSenderBuilder.java @@ -48,7 +48,7 @@ public class HttpWebServiceMessageSenderBuilder { /** * Set the connection timeout. * @param connectTimeout the connection timeout - * @return a new builder instance + * @return the current builder instance */ public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTimeout) { this.connectTimeout = connectTimeout; @@ -58,7 +58,7 @@ public HttpWebServiceMessageSenderBuilder setConnectTimeout(Duration connectTime /** * Set the read timeout. * @param readTimeout the read timeout - * @return a new builder instance + * @return the current builder instance */ public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout) { this.readTimeout = readTimeout; @@ -68,7 +68,7 @@ public HttpWebServiceMessageSenderBuilder setReadTimeout(Duration readTimeout) { /** * Set an {@link SslBundle} that will be used to configure a secure connection. * @param sslBundle the SSL bundle - * @return a new builder instance + * @return the current builder instance */ public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle) { this.sslBundle = sslBundle; @@ -79,7 +79,7 @@ public HttpWebServiceMessageSenderBuilder sslBundle(SslBundle sslBundle) { * Set the {@code Supplier} of {@link ClientHttpRequestFactory} that should be called * to create the HTTP-based {@link WebServiceMessageSender}. * @param requestFactorySupplier the supplier for the request factory - * @return a new builder instance + * @return the current builder instance */ public HttpWebServiceMessageSenderBuilder requestFactory( Supplier requestFactorySupplier) { @@ -93,7 +93,7 @@ public HttpWebServiceMessageSenderBuilder requestFactory( * {@link ClientHttpRequestFactory} that should be called to create the HTTP-based * {@link WebServiceMessageSender}. * @param requestFactoryFunction the function for the request factory - * @return a new builder instance + * @return the current builder instance * @since 3.0.0 */ public HttpWebServiceMessageSenderBuilder requestFactory(