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

garydgregory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-secure-xml.git

commit e54cb670c02927aa46381b1b1e0a1c116e8b9709
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Aug 31 10:19:38 2026 -0400

    Parameter name typo and Javadoc.
---
 src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java 
b/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java
index 6ee8526..029de73 100644
--- a/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java
@@ -42,9 +42,9 @@ interface ThrowableCallable<V> {
      * @throws SecurityException    if a security manager is present and it <a 
href="MethodHandles.Lookup.html#secmgr">refuses access</a>.
      * @throws NullPointerException if any argument is null.
      */
-    static MethodHandle findStatic(final Class<?> refc, final String name, 
final Class<?> returnTpe) {
+    static MethodHandle findStatic(final Class<?> refc, final String name, 
final Class<?> returnType) {
         try {
-            return MethodHandles.publicLookup().findStatic(refc, name, 
MethodType.methodType(returnTpe));
+            return MethodHandles.publicLookup().findStatic(refc, name, 
MethodType.methodType(returnType));
         } catch (final ReflectiveOperationException e) {
             return null;
         }

Reply via email to