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 302f934d48d87723491c8cb51ae3edba08883a01
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Sep 14 15:43:59 2026 -0700

    Javadoc
---
 .../org/apache/commons/xml/secure/MethodHandleFactory.java     | 10 +++++-----
 1 file changed, 5 insertions(+), 5 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 2e2f3e3..f332af1 100644
--- a/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java
+++ b/src/main/java/org/apache/commons/xml/secure/MethodHandleFactory.java
@@ -33,9 +33,9 @@ interface ThrowableCallable<V> {
     }
 
     /**
-     * Finds a static method handle for the given class, method name, where 
the class is also the return type.
+     * Finds a static method handle for the given class and method name, where 
the class is also the return type.
      *
-     * @param refcAndReturnType The class to search for the method and the 
return type.
+     * @param refcAndReturnType The class in which to search for the method, 
also used as the return type.
      * @param name              The name of the method.
      * @return The method handle, or {@code null} if not found.
      * @throws SecurityException    Thrown if a security manager is present 
and it <a href="MethodHandles.Lookup.html#secmgr">refuses access</a>.
@@ -52,11 +52,11 @@ static MethodHandle findStatic(final Class<?> 
refcAndReturnType, final String na
     /**
      * Finds an instance method handle for the given class, method name and 
signature.
      * <p>
-     * Used to reach a method a later Java release added to a class this 
library compiles against an earlier one; the handle is {@code null} where the
-     * running platform does not have it.
+     * Used to access a method added in a later Java release while this 
library compiles against an earlier release. The handle is {@code null} when the
+     * running platform does not provide the method.
      * </p>
      *
-     * @param refc           The class to search for the method.
+     * @param refc           The class in which to search for the method.
      * @param name           The name of the method.
      * @param returnType     The method's return type.
      * @param parameterTypes The method's parameter types.

Reply via email to