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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0659831ad Javadoc
0659831ad is described below

commit 0659831ad49a41244337eb9c60e6b6fe921756c2
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Oct 25 10:02:41 2022 -0400

    Javadoc
---
 src/main/java/org/apache/commons/lang3/function/MethodInvokers.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/lang3/function/MethodInvokers.java 
b/src/main/java/org/apache/commons/lang3/function/MethodInvokers.java
index 39f3b1e31..b90f0c14f 100644
--- a/src/main/java/org/apache/commons/lang3/function/MethodInvokers.java
+++ b/src/main/java/org/apache/commons/lang3/function/MethodInvokers.java
@@ -201,13 +201,13 @@ public final class MethodInvokers {
      * </p>
      *
      * @param <T> The interface type.
-     * @param intfc The interface type.
+     * @param interfaceClass a class object representing {@code T}.
      * @param method the method to invoke.
      * @return a correctly-typed wrapper for the given target.
      * @see MethodHandleProxies#asInterfaceInstance(Class, MethodHandle)
      */
-    public static <T> T asInterfaceInstance(final Class<T> intfc, final Method 
method) {
-        return 
MethodHandleProxies.asInterfaceInstance(Objects.requireNonNull(intfc, "intfc"), 
unreflectUnchecked(method));
+    public static <T> T asInterfaceInstance(final Class<T> interfaceClass, 
final Method method) {
+        return 
MethodHandleProxies.asInterfaceInstance(Objects.requireNonNull(interfaceClass, 
"interfaceClass"), unreflectUnchecked(method));
     }
 
     /**

Reply via email to