Skip to content

Commit 01a58a2

Browse files
Anxtonsdeleuze
authored andcommitted
Fix minor typo in RestClient
Closes gh-35723 Signed-off-by: Anton Xu <[email protected]>
1 parent f28e245 commit 01a58a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/client/RestClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ interface ResponseSpec {
904904
/**
905905
* Provide a function to map specific error status codes to an error handler.
906906
* <p>By default, if there are no matching status handlers, responses with
907-
* status codes &gt;= 400 wil throw a {@link RestClientResponseException}.
907+
* status codes &gt;= 400 will throw a {@link RestClientResponseException}.
908908
* <p>Note that {@link IOException IOExceptions},
909909
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
910910
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}
@@ -921,7 +921,7 @@ ResponseSpec onStatus(Predicate<HttpStatusCode> statusPredicate,
921921
/**
922922
* Provide a function to map specific error status codes to an error handler.
923923
* <p>By default, if there are no matching status handlers, responses with
924-
* status codes &gt;= 400 wil throw a {@link RestClientResponseException}.
924+
* status codes &gt;= 400 will throw a {@link RestClientResponseException}.
925925
* <p>Note that {@link IOException IOExceptions},
926926
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
927927
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}

0 commit comments

Comments
 (0)