Polishing
This commit is contained in:
@@ -159,7 +159,7 @@ public class FunctionReference extends SpelNodeImpl {
|
||||
* @param methodHandle the method to invoke
|
||||
* @return the return value of the invoked Java method
|
||||
* @throws EvaluationException if there is any problem invoking the method
|
||||
* @since 6.1.0
|
||||
* @since 6.1
|
||||
*/
|
||||
private TypedValue executeFunctionBoundMethodHandle(ExpressionState state, MethodHandle methodHandle) throws EvaluationException {
|
||||
Object[] functionArgs = getArguments(state);
|
||||
|
||||
@@ -343,10 +343,11 @@ public abstract class ReflectionHelper {
|
||||
* ({@code null} if not varargs)
|
||||
* @return {@code true} if some kind of conversion occurred on an argument
|
||||
* @throws EvaluationException if a problem occurs during conversion
|
||||
* @since 6.1.0
|
||||
* @since 6.1
|
||||
*/
|
||||
public static boolean convertAllMethodHandleArguments(TypeConverter converter, Object[] arguments,
|
||||
MethodHandle methodHandle, @Nullable Integer varargsPosition) throws EvaluationException {
|
||||
|
||||
boolean conversionOccurred = false;
|
||||
final MethodType methodHandleArgumentTypes = methodHandle.type();
|
||||
if (varargsPosition == null) {
|
||||
|
||||
Reference in New Issue
Block a user