Mark HttpMethod::resolve for removal

This commit is contained in:
Arjen Poutsma
2022-10-12 15:32:22 +02:00
parent fadf69fb68
commit 2c58eea781

View File

@@ -138,7 +138,7 @@ public final class HttpMethod implements Comparable<HttpMethod>, 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);
}