Browse Source

Remove static import from InvocableHandlerMethod

See gh-19975
pull/22606/head
Sebastien Deleuze 7 years ago
parent
commit
495ba2f58c
  1. 4
      spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java

4
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java

@ -42,8 +42,6 @@ import org.springframework.web.reactive.BindingContext; @@ -42,8 +42,6 @@ import org.springframework.web.reactive.BindingContext;
import org.springframework.web.reactive.HandlerResult;
import org.springframework.web.server.ServerWebExchange;
import static org.springframework.web.reactive.result.method.InvocableHandlerMethodKt.invokeHandlerMethod;
/**
* Extension of {@link HandlerMethod} that invokes the underlying method with
* argument values resolved from the current HTTP request through a list of
@ -142,7 +140,7 @@ public class InvocableHandlerMethod extends HandlerMethod { @@ -142,7 +140,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
ReflectionUtils.makeAccessible(getBridgedMethod());
Method method = getBridgedMethod();
if (KotlinDetector.isKotlinReflectPresent() && KotlinDetector.isKotlinType(method.getDeclaringClass())) {
value = invokeHandlerMethod(method, getBean(), args);
value = InvocableHandlerMethodKt.invokeHandlerMethod(method, getBean(), args);
}
else {
value = method.invoke(getBean(), args);

Loading…
Cancel
Save