We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1a0d3 commit 445f25cCopy full SHA for 445f25c
spring-web/src/main/java/org/springframework/http/HttpMethod.java
@@ -146,7 +146,7 @@ public static HttpMethod valueOf(String method) {
146
@Nullable
147
@Deprecated
148
public static HttpMethod resolve(@Nullable String method) {
149
- return (method != null ? mappings.get(method) : null);
+ return (method != null ? valueOf(method) : null);
150
}
151
152
0 commit comments