Skip to content

Commit f13feb1

Browse files
spencergibbolegz
authored andcommitted
Replaces use of HttpMethod.resolve() with valueOf().
1 parent d944f53 commit f13feb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionHandlerMapping.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected HandlerMethod getHandlerInternal(HttpServletRequest request)
9797
path = path.substring(this.prefix.length());
9898
}
9999

100-
Object function = FunctionWebRequestProcessingHelper.findFunction(this.functionProperties, HttpMethod.resolve(request.getMethod()),
100+
Object function = FunctionWebRequestProcessingHelper.findFunction(this.functionProperties, HttpMethod.valueOf(request.getMethod()),
101101
this.functions, new HttpRequestAttributeDelegate(request), path);
102102
if (function != null) {
103103
if (this.logger.isDebugEnabled()) {

0 commit comments

Comments
 (0)