Polishing

This commit is contained in:
Juergen Hoeller 2024-04-23 16:07:09 +02:00
parent d151931f86
commit 580adfcbed
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}
}
}

View File

@ -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);
}
}
}
}