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

sebb 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 2d1afa5f Fix varargs warning
2d1afa5f is described below

commit 2d1afa5f17e2fcae2b73a788ffc1ab4bc0510079
Author: Sebb <s...@apache.org>
AuthorDate: Tue Oct 17 21:30:49 2023 +0100

    Fix varargs warning
---
 .../java/org/apache/commons/jexl3/introspection/JexlPermissions.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java 
b/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
index 8b26c9b8..aa361e24 100644
--- a/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
+++ b/src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java
@@ -204,7 +204,7 @@ public interface JexlPermissions {
      * <p>This enables any public class, method, constructor or field to be 
visible to JEXL and used in scripts.</p>
      * @since 3.3
      */
-    JexlPermissions UNRESTRICTED = JexlPermissions.parse(null);
+    JexlPermissions UNRESTRICTED = JexlPermissions.parse((String []) null);
     /**
      * A restricted singleton.
      * <p>The RESTRICTED set is built using the following allowed packages and 
denied packages/classes.</p>

Reply via email to