From 2c58eea78102bc444d57f236e7f71ae755f7a259 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Wed, 12 Oct 2022 15:32:22 +0200 Subject: [PATCH] Mark HttpMethod::resolve for removal --- .../src/main/java/org/springframework/http/HttpMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-web/src/main/java/org/springframework/http/HttpMethod.java b/spring-web/src/main/java/org/springframework/http/HttpMethod.java index c71d54cd81..126ed3bb74 100644 --- a/spring-web/src/main/java/org/springframework/http/HttpMethod.java +++ b/spring-web/src/main/java/org/springframework/http/HttpMethod.java @@ -138,7 +138,7 @@ public final class HttpMethod implements Comparable, Serializable { * @deprecated in favor of {@link #valueOf(String)} */ @Nullable - @Deprecated + @Deprecated(since = "6.0", forRemoval = true) public static HttpMethod resolve(@Nullable String method) { return (method != null ? valueOf(method) : null); }