Remove unused method parameter
This commit is contained in:
@@ -70,8 +70,7 @@ public class FunctionController {
|
|||||||
public Object get(
|
public Object get(
|
||||||
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.function") Function<Flux<?>, Flux<?>> function,
|
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.function") Function<Flux<?>, Flux<?>> function,
|
||||||
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.supplier") Supplier<Flux<?>> supplier,
|
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.supplier") Supplier<Flux<?>> supplier,
|
||||||
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.argument") String argument,
|
@RequestAttribute(required = false, name = "org.springframework.cloud.function.web.FunctionHandlerMapping.argument") String argument) {
|
||||||
@RequestAttribute("org.springframework.web.servlet.HandlerMapping.pathWithinHandlerMapping") String path) {
|
|
||||||
if (function != null) {
|
if (function != null) {
|
||||||
return value(function, argument);
|
return value(function, argument);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user