Polishing
This commit is contained in:
parent
d151931f86
commit
580adfcbed
|
@ -280,7 +280,6 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
|||
|
||||
/**
|
||||
* Invoke the given Kotlin coroutine suspended function.
|
||||
*
|
||||
* <p>The default implementation invokes
|
||||
* {@link CoroutinesUtils#invokeSuspendingFunction(Method, Object, Object...)},
|
||||
* but subclasses can override this method to use
|
||||
|
@ -292,6 +291,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
|||
return CoroutinesUtils.invokeSuspendingFunction(method, target, args);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Inner class to avoid a hard dependency on Kotlin at runtime.
|
||||
*/
|
||||
|
@ -334,7 +334,6 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
|||
Object result = function.callBy(argMap);
|
||||
return (result == Unit.INSTANCE ? null : result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -311,6 +311,7 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Inner class to avoid a hard dependency on Kotlin at runtime.
|
||||
*/
|
||||
|
@ -369,7 +370,6 @@ public class InvocableHandlerMethod extends HandlerMethod {
|
|||
return (result == Unit.INSTANCE ? null : result);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue