Delete unused code

This commit is contained in:
Sam Brannen
2023-05-10 14:14:22 +02:00
parent 4d5e235166
commit e51c71bcd6
2 changed files with 1 additions and 13 deletions

View File

@@ -199,8 +199,7 @@ public class FunctionReference extends SpelNodeImpl {
varArgPosition = declaredParamCount - 1;
}
TypeConverter converter = state.getEvaluationContext().getTypeConverter();
boolean conversionOccurred = ReflectionHelper.convertAllMethodHandleArguments(converter,
functionArgs, methodHandle, varArgPosition);
ReflectionHelper.convertAllMethodHandleArguments(converter, functionArgs, methodHandle, varArgPosition);
if (isSuspectedVarargs && declaredParamCount == 1) {
//we only repack the varargs if it is the ONLY argument