Skip to content

Commit a705c6f

Browse files
committed
Merge branch '6.2.x'
2 parents a23c377 + 01a58a2 commit a705c6f

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
@@ -990,7 +990,7 @@ interface ResponseSpec {
990990
/**
991991
* Provide a function to map specific error status codes to an error handler.
992992
* <p>By default, if there are no matching status handlers, responses with
993-
* status codes &gt;= 400 wil throw a {@link RestClientResponseException}.
993+
* status codes &gt;= 400 will throw a {@link RestClientResponseException}.
994994
* <p>Note that {@link IOException IOExceptions},
995995
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
996996
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}
@@ -1007,7 +1007,7 @@ ResponseSpec onStatus(Predicate<HttpStatusCode> statusPredicate,
10071007
/**
10081008
* Provide a function to map specific error status codes to an error handler.
10091009
* <p>By default, if there are no matching status handlers, responses with
1010-
* status codes &gt;= 400 wil throw a {@link RestClientResponseException}.
1010+
* status codes &gt;= 400 will throw a {@link RestClientResponseException}.
10111011
* <p>Note that {@link IOException IOExceptions},
10121012
* {@link java.io.UncheckedIOException UncheckedIOExceptions}, and
10131013
* {@link org.springframework.http.converter.HttpMessageNotReadableException HttpMessageNotReadableExceptions}

0 commit comments

Comments
 (0)