This is an automated email from the ASF dual-hosted git repository.

henrib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jexl.git


The following commit(s) were added to refs/heads/master by this push:
     new c69d9e13 JEXL: fix broken varargs handling in last refactor;
c69d9e13 is described below

commit c69d9e1309ed2f5685c69690741c822068c90775
Author: henrib <[email protected]>
AuthorDate: Wed Feb 8 18:34:22 2023 +0100

    JEXL: fix broken varargs handling in last refactor;
---
 .../java/org/apache/commons/jexl3/internal/introspection/MethodKey.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
index cf8473c0..0dcd7903 100644
--- 
a/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
+++ 
b/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
@@ -688,7 +688,7 @@ public final class MethodKey {
         }
 
         // number of formal and actual differ, method must be vararg
-        if (!method.isVarArgs()) {
+        if (!MethodKey.isVarArgs(method)) {
             return false;
         }
 

Reply via email to