From 913ddd55dd7b58c93bf4d41110324bec7e4842f0 Mon Sep 17 00:00:00 2001 From: Joerg Schaible Date: Wed, 6 Jul 2011 19:38:31 +0000 Subject: [PATCH] Typos. Parameter name mismatch in Javadoc. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1143538 13f79535-47bb-0310-9956-ffa450edef68 --- .../lang3/reflect/ConstructorUtils.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java index fdf9aab37..dd1aa0196 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/ConstructorUtils.java @@ -24,7 +24,7 @@ import org.apache.commons.lang3.ClassUtils; /** - *

Utility reflection methods focussed on constructors, modelled after + *

Utility reflection methods focused on constructors, modeled after * {@link MethodUtils}.

* *

Known Limitations

Accessing Public Constructors In A Default @@ -37,7 +37,7 @@ *

ConstructorUtils contains a workaround for this situation. It * will attempt to call setAccessible on this constructor. If this * call succeeds, then the method can be invoked as normal. This call will only - * succeed when the application has sufficient security privilages. If this call + * succeed when the application has sufficient security privileges. If this call * fails then a warning will be logged and the method may fail.

* * @since 2.5 @@ -58,7 +58,7 @@ public ConstructorUtils() { } /** - *

Returns a new instance of klazz created using the actual + *

Returns a new instance of cls created using the actual * arguments args. The formal parameter types are inferred from * the actual values of args. See * {@link #invokeExactConstructor(Class, Object[], Class[])} for more @@ -69,7 +69,7 @@ public ConstructorUtils() { * @param the type to be constructed * @param cls the class to be constructed. * @param args actual argument array - * @return new instance of klazz + * @return new instance of cls * * @throws NoSuchMethodException If the constructor cannot be found * @throws IllegalAccessException If an error occurs accessing the @@ -95,7 +95,7 @@ public static T invokeConstructor(Class cls, Object... args) } /** - *

Returns a new instance of klazz created using constructor + *

Returns a new instance of cls created using constructor * with signature parameterTypes and actual arguments * args.

* @@ -105,7 +105,7 @@ public static T invokeConstructor(Class cls, Object... args) * @param cls the class to be constructed. * @param args actual argument array * @param parameterTypes parameter types array - * @return new instance of klazz + * @return new instance of cls * * @throws NoSuchMethodException if matching constructor cannot be found * @throws IllegalAccessException thrown on the constructor's invocation @@ -131,7 +131,7 @@ public static T invokeConstructor(Class cls, Object[] args, Class[] pa } /** - *

Returns a new instance of klazz created using the actual + *

Returns a new instance of cls created using the actual * arguments args. The formal parameter types are inferred from * the actual values of args. See * {@link #invokeExactConstructor(Class, Object[], Class[])} for more @@ -142,7 +142,7 @@ public static T invokeConstructor(Class cls, Object[] args, Class[] pa * @param the type to be constructed * @param cls the class to be constructed. * @param args actual argument array - * @return new instance of klazz + * @return new instance of cls * * @throws NoSuchMethodException If the constructor cannot be found * @throws IllegalAccessException If an error occurs accessing the @@ -169,7 +169,7 @@ public static T invokeExactConstructor(Class cls, Object... args) } /** - *

Returns a new instance of klazz created using constructor + *

Returns a new instance of cls created using constructor * with signature parameterTypes and actual arguments * args.

* @@ -179,7 +179,7 @@ public static T invokeExactConstructor(Class cls, Object... args) * @param cls the class to be constructed. * @param args actual argument array * @param parameterTypes parameter types array - * @return new instance of klazz + * @return new instance of cls * * @throws NoSuchMethodException if matching constructor cannot be found * @throws IllegalAccessException thrown on the constructor's invocation