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

ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git


The following commit(s) were added to refs/heads/1.X by this push:
     new 7c5e2d6f Use an import instead of a FQCN
7c5e2d6f is described below

commit 7c5e2d6f0148d2c92565ab67056a97d081c51167
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Mon May 19 08:12:53 2025 -0400

    Use an import instead of a FQCN
---
 src/main/java/org/apache/commons/beanutils/MethodUtils.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/beanutils/MethodUtils.java 
b/src/main/java/org/apache/commons/beanutils/MethodUtils.java
index bc1d9b08..3641cfc4 100644
--- a/src/main/java/org/apache/commons/beanutils/MethodUtils.java
+++ b/src/main/java/org/apache/commons/beanutils/MethodUtils.java
@@ -22,6 +22,7 @@ import java.lang.ref.WeakReference;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.lang.reflect.Modifier;
+import java.util.Arrays;
 import java.util.Collections;
 import java.util.Map;
 import java.util.WeakHashMap;
@@ -97,7 +98,7 @@ public class MethodUtils {
             return exact == md.exact &&
             methodName.equals(md.methodName) &&
             cls.equals(md.cls) &&
-            java.util.Arrays.equals(paramTypes, md.paramTypes);
+            Arrays.equals(paramTypes, md.paramTypes);
         }
         /**
          * Returns the string length of method name. I.e. if the

Reply via email to