This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-proxy.git
The following commit(s) were added to refs/heads/master by this push:
new 8a9cca3 Javadoc
8a9cca3 is described below
commit 8a9cca3142fdbb3e1b012289b66ad2f805c3e410
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 11 09:09:09 2026 -0400
Javadoc
---
.../main/java/org/apache/commons/proxy2/ProxyFactory.java | 12 ++++++------
core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java | 2 +-
.../org/apache/commons/proxy2/impl/AbstractProxyFactory.java | 6 +++---
.../apache/commons/proxy2/interceptor/InterceptorUtils.java | 8 ++++----
.../apache/commons/proxy2/javassist/JavassistInvocation.java | 2 +-
.../java/org/apache/commons/proxy2/jdk/JdkProxyFactory.java | 6 +++---
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java
b/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java
index 82bd20a..ee4a5f4 100644
--- a/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java
+++ b/core/src/main/java/org/apache/commons/proxy2/ProxyFactory.java
@@ -45,7 +45,7 @@ public interface ProxyFactory
* the delegate provider
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which delegates to the object provided by the target
object provider
+ * @return A proxy which delegates to the object provided by the target
object provider
*/
<T> T createDelegatorProxy(ObjectProvider<?> delegateProvider, Class<?>...
proxyClasses);
@@ -58,7 +58,7 @@ public interface ProxyFactory
* the delegate provider
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which delegates to the object provided by the target
<code>delegateProvider>
+ * @return A proxy which delegates to the object provided by the target
<code>delegateProvider>
*/
<T> T createDelegatorProxy(ClassLoader classLoader, ObjectProvider<?>
delegateProvider, Class<?>... proxyClasses);
@@ -72,7 +72,7 @@ public interface ProxyFactory
* the method interceptor
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
+ * @return A proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
* <code>target</code> object.
*/
<T> T createInterceptorProxy(Object target, Interceptor interceptor,
Class<?>... proxyClasses);
@@ -89,7 +89,7 @@ public interface ProxyFactory
* the method interceptor
* @param proxyClasses
* the interfaces that the proxy should implement.
- * @return a proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
+ * @return A proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
* <code>target</code> object.
*/
<T> T createInterceptorProxy(ClassLoader classLoader, Object target,
Interceptor interceptor,
@@ -103,7 +103,7 @@ public interface ProxyFactory
* the invoker
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which uses the provided {@link Invoker} to handle all
method invocations
+ * @return A proxy which uses the provided {@link Invoker} to handle all
method invocations
*/
<T> T createInvokerProxy(Invoker invoker, Class<?>... proxyClasses);
@@ -116,7 +116,7 @@ public interface ProxyFactory
* the invoker
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which uses the provided {@link Invoker} to handle all
method invocations
+ * @return A proxy which uses the provided {@link Invoker} to handle all
method invocations
*/
<T> T createInvokerProxy(ClassLoader classLoader, Invoker invoker,
Class<?>... proxyClasses);
}
diff --git a/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java
b/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java
index e5e34b5..43c296e 100644
--- a/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java
+++ b/core/src/main/java/org/apache/commons/proxy2/ProxyUtils.java
@@ -88,7 +88,7 @@ public final class ProxyUtils
*
* @param cls
* the class to look up, may be <code>null</code>
- * @return an array of {@link Class} objects representing all interfaces
implemented by the given class and its
+ * @return An array of {@link Class} objects representing all interfaces
implemented by the given class and its
* superclasses or <code>null</code> if input class is null.
*/
public static Class<?>[] getAllInterfaces(Class<?> cls)
diff --git
a/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java
b/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java
index 56d574e..4f51289 100644
---
a/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java
+++
b/core/src/main/java/org/apache/commons/proxy2/impl/AbstractProxyFactory.java
@@ -56,7 +56,7 @@ public abstract class AbstractProxyFactory implements
ProxyFactory
* the delegate provider
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which delegates to the object provided by the target
object provider
+ * @return A proxy which delegates to the object provided by the target
object provider
*/
@Override
public <T> T createDelegatorProxy(ObjectProvider<?> delegateProvider,
Class<?>... proxyClasses)
@@ -74,7 +74,7 @@ public abstract class AbstractProxyFactory implements
ProxyFactory
* the method interceptor
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
+ * @return A proxy which passes through a {@link Interceptor interceptor}
before eventually reaching the
* <code>target</code> object.
*/
@Override
@@ -92,7 +92,7 @@ public abstract class AbstractProxyFactory implements
ProxyFactory
* the invoker
* @param proxyClasses
* the interfaces that the proxy should implement
- * @return a proxy which uses the provided {@link Invoker} to handle all
method invocations
+ * @return A proxy which uses the provided {@link Invoker} to handle all
method invocations
*/
@Override
public <T> T createInvokerProxy(Invoker invoker, Class<?>... proxyClasses)
diff --git
a/core/src/main/java/org/apache/commons/proxy2/interceptor/InterceptorUtils.java
b/core/src/main/java/org/apache/commons/proxy2/interceptor/InterceptorUtils.java
index f26bf7e..b07c20a 100644
---
a/core/src/main/java/org/apache/commons/proxy2/interceptor/InterceptorUtils.java
+++
b/core/src/main/java/org/apache/commons/proxy2/interceptor/InterceptorUtils.java
@@ -33,7 +33,7 @@ public final class InterceptorUtils
*
* @param value
* the constant
- * @return an {@link Interceptor} which always returns a constant value
(for all methods)
+ * @return An {@link Interceptor} which always returns a constant value
(for all methods)
*/
public static Interceptor constant(Object value)
{
@@ -45,7 +45,7 @@ public final class InterceptorUtils
*
* @param provider
* the object provider
- * @return an {@link Interceptor} which returns the resulting object from
an object provider (for all methods)
+ * @return An {@link Interceptor} which returns the resulting object from
an object provider (for all methods)
*/
public static Interceptor provider(ObjectProvider<?> provider)
{
@@ -57,7 +57,7 @@ public final class InterceptorUtils
*
* @param e
* the exception
- * @return an {@link Interceptor} which throws a specific exception (for
all methods)
+ * @return An {@link Interceptor} which throws a specific exception (for
all methods)
*/
public static Interceptor throwing(Exception e)
{
@@ -69,7 +69,7 @@ public final class InterceptorUtils
*
* @param provider
* the object provider
- * @return an {@link Interceptor} which throws the exception provided by
an object provider (for all methods)
+ * @return An {@link Interceptor} which throws the exception provided by
an object provider (for all methods)
*/
public static Interceptor throwing(ObjectProvider<? extends Exception>
provider)
{
diff --git
a/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistInvocation.java
b/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistInvocation.java
index 49aea62..582ed60 100644
---
a/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistInvocation.java
+++
b/javassist/src/main/java/org/apache/commons/proxy2/javassist/JavassistInvocation.java
@@ -160,7 +160,7 @@ public abstract class JavassistInvocation implements
Invocation
* the classloader to use
* @param interfaceMethod
* the interface method
- * @return a method invocation class specifically coded to invoke the
supplied interface method
+ * @return A method invocation class specifically coded to invoke the
supplied interface method
* @throws CannotCompileException
* if a compilation error occurs
*/
diff --git
a/jdk/src/main/java/org/apache/commons/proxy2/jdk/JdkProxyFactory.java
b/jdk/src/main/java/org/apache/commons/proxy2/jdk/JdkProxyFactory.java
index 8e99ee3..678c5b5 100644
--- a/jdk/src/main/java/org/apache/commons/proxy2/jdk/JdkProxyFactory.java
+++ b/jdk/src/main/java/org/apache/commons/proxy2/jdk/JdkProxyFactory.java
@@ -51,7 +51,7 @@ public class JdkProxyFactory extends AbstractProxyFactory
* the delegate provider
* @param proxyClasses
* the interfaces that the proxy2 should implement
- * @return a proxy2 which delegates to the object provided by the target
<code>delegateProvider>
+ * @return A proxy2 which delegates to the object provided by the target
<code>delegateProvider>
*/
@Override
public <T> T createDelegatorProxy(ClassLoader classLoader,
ObjectProvider<?> delegateProvider,
@@ -75,7 +75,7 @@ public class JdkProxyFactory extends AbstractProxyFactory
* the method interceptor
* @param proxyClasses
* the interfaces that the proxy2 should implement.
- * @return a proxy2 which passes through a {@link Interceptor interceptor}
before eventually reaching the
+ * @return A proxy2 which passes through a {@link Interceptor interceptor}
before eventually reaching the
* <code>target</code> object.
*/
@Override
@@ -97,7 +97,7 @@ public class JdkProxyFactory extends AbstractProxyFactory
* the invoker
* @param proxyClasses
* the interfaces that the proxy2 should implement
- * @return a proxy2 which uses the provided {@link Invoker} to handle all
method invocations
+ * @return A proxy2 which uses the provided {@link Invoker} to handle all
method invocations
*/
@Override
public <T> T createInvokerProxy(ClassLoader classLoader, Invoker invoker,
Class<?>... proxyClasses)