mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 14:40:00 +00:00
Clean up warnings related to deprecated HttpStatus values, etc.
This commit is contained in:
@@ -95,6 +95,7 @@ public class HttpClientErrorException extends HttpStatusCodeException {
|
||||
* with an optional prepared message.
|
||||
* @since 5.2.2
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static HttpClientErrorException create(@Nullable String message, HttpStatusCode statusCode,
|
||||
String statusText, HttpHeaders headers, byte[] body, @Nullable Charset charset) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user