Minor cleanup

This commit is contained in:
Oleg Zhurakousky
2024-12-22 13:46:20 +01:00
parent 9de725dab0
commit c1cb638591
2 changed files with 7 additions and 8 deletions

View File

@@ -160,7 +160,6 @@ public class BeanFactoryAwareFunctionRegistry extends SimpleFunctionRegistry imp
else if (functionCandidate instanceof BiFunction || functionCandidate instanceof BiConsumer) {
functionRegistration = this.registerMessagingBiFunction(functionCandidate, functionName);
}
//else if (KotlinDetector.isKotlinType(functionCandidate.getClass())) {
else if (KotlinUtils.isKotlinType(functionCandidate)) {
KotlinLambdaToFunctionAutoConfiguration.KotlinFunctionWrapper wrapper =
new KotlinLambdaToFunctionAutoConfiguration.KotlinFunctionWrapper(functionCandidate);