From 01a58a253b0631bbaa2a3e5a4a2d098fa316ba69 Mon Sep 17 00:00:00 2001 From: Anton Xu Date: Thu, 30 Oct 2025 15:14:54 +0100 Subject: [PATCH] Fix minor typo in RestClient Closes gh-35723 Signed-off-by: Anton Xu --- .../main/java/org/springframework/web/client/RestClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/web/client/RestClient.java b/spring-web/src/main/java/org/springframework/web/client/RestClient.java index 22248b0e254..e45526ee1ab 100644 --- a/spring-web/src/main/java/org/springframework/web/client/RestClient.java +++ b/spring-web/src/main/java/org/springframework/web/client/RestClient.java @@ -904,7 +904,7 @@ public interface RestClient { /** * Provide a function to map specific error status codes to an error handler. *

By default, if there are no matching status handlers, responses with - * status codes >= 400 wil throw a {@link RestClientResponseException}. + * status codes >= 400 will throw a {@link RestClientResponseException}. *

Note that {@link IOException IOExceptions}, * {@link java.io.UncheckedIOException UncheckedIOExceptions}, and * {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions} @@ -921,7 +921,7 @@ public interface RestClient { /** * Provide a function to map specific error status codes to an error handler. *

By default, if there are no matching status handlers, responses with - * status codes >= 400 wil throw a {@link RestClientResponseException}. + * status codes >= 400 will throw a {@link RestClientResponseException}. *

Note that {@link IOException IOExceptions}, * {@link java.io.UncheckedIOException UncheckedIOExceptions}, and * {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}