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
This commit is contained in:
Joerg Schaible 2011-07-06 19:38:31 +00:00
parent 551346f0f6
commit 913ddd55dd
1 changed files with 10 additions and 10 deletions

View File

@ -24,7 +24,7 @@
import org.apache.commons.lang3.ClassUtils; import org.apache.commons.lang3.ClassUtils;
/** /**
* <p> Utility reflection methods focussed on constructors, modelled after * <p> Utility reflection methods focused on constructors, modeled after
* {@link MethodUtils}. </p> * {@link MethodUtils}. </p>
* *
* <h3>Known Limitations</h3> <h4>Accessing Public Constructors In A Default * <h3>Known Limitations</h3> <h4>Accessing Public Constructors In A Default
@ -37,7 +37,7 @@
* <p><code>ConstructorUtils</code> contains a workaround for this situation. It * <p><code>ConstructorUtils</code> contains a workaround for this situation. It
* will attempt to call <code>setAccessible</code> on this constructor. If this * will attempt to call <code>setAccessible</code> on this constructor. If this
* call succeeds, then the method can be invoked as normal. This call will only * 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.</p> * fails then a warning will be logged and the method may fail.</p>
* *
* @since 2.5 * @since 2.5
@ -58,7 +58,7 @@ public ConstructorUtils() {
} }
/** /**
* <p>Returns a new instance of <code>klazz</code> created using the actual * <p>Returns a new instance of <code>cls</code> created using the actual
* arguments <code>args</code>. The formal parameter types are inferred from * arguments <code>args</code>. The formal parameter types are inferred from
* the actual values of <code>args</code>. See * the actual values of <code>args</code>. See
* {@link #invokeExactConstructor(Class, Object[], Class[])} for more * {@link #invokeExactConstructor(Class, Object[], Class[])} for more
@ -69,7 +69,7 @@ public ConstructorUtils() {
* @param <T> the type to be constructed * @param <T> the type to be constructed
* @param cls the class to be constructed. * @param cls the class to be constructed.
* @param args actual argument array * @param args actual argument array
* @return new instance of <code>klazz</code> * @return new instance of <code>cls</code>
* *
* @throws NoSuchMethodException If the constructor cannot be found * @throws NoSuchMethodException If the constructor cannot be found
* @throws IllegalAccessException If an error occurs accessing the * @throws IllegalAccessException If an error occurs accessing the
@ -95,7 +95,7 @@ public static <T> T invokeConstructor(Class<T> cls, Object... args)
} }
/** /**
* <p>Returns a new instance of <code>klazz</code> created using constructor * <p>Returns a new instance of <code>cls</code> created using constructor
* with signature <code>parameterTypes</code> and actual arguments * with signature <code>parameterTypes</code> and actual arguments
* <code>args</code>.</p> * <code>args</code>.</p>
* *
@ -105,7 +105,7 @@ public static <T> T invokeConstructor(Class<T> cls, Object... args)
* @param cls the class to be constructed. * @param cls the class to be constructed.
* @param args actual argument array * @param args actual argument array
* @param parameterTypes parameter types array * @param parameterTypes parameter types array
* @return new instance of <code>klazz</code> * @return new instance of <code>cls</code>
* *
* @throws NoSuchMethodException if matching constructor cannot be found * @throws NoSuchMethodException if matching constructor cannot be found
* @throws IllegalAccessException thrown on the constructor's invocation * @throws IllegalAccessException thrown on the constructor's invocation
@ -131,7 +131,7 @@ public static <T> T invokeConstructor(Class<T> cls, Object[] args, Class<?>[] pa
} }
/** /**
* <p>Returns a new instance of <code>klazz</code> created using the actual * <p>Returns a new instance of <code>cls</code> created using the actual
* arguments <code>args</code>. The formal parameter types are inferred from * arguments <code>args</code>. The formal parameter types are inferred from
* the actual values of <code>args</code>. See * the actual values of <code>args</code>. See
* {@link #invokeExactConstructor(Class, Object[], Class[])} for more * {@link #invokeExactConstructor(Class, Object[], Class[])} for more
@ -142,7 +142,7 @@ public static <T> T invokeConstructor(Class<T> cls, Object[] args, Class<?>[] pa
* @param <T> the type to be constructed * @param <T> the type to be constructed
* @param cls the class to be constructed. * @param cls the class to be constructed.
* @param args actual argument array * @param args actual argument array
* @return new instance of <code>klazz</code> * @return new instance of <code>cls</code>
* *
* @throws NoSuchMethodException If the constructor cannot be found * @throws NoSuchMethodException If the constructor cannot be found
* @throws IllegalAccessException If an error occurs accessing the * @throws IllegalAccessException If an error occurs accessing the
@ -169,7 +169,7 @@ public static <T> T invokeExactConstructor(Class<T> cls, Object... args)
} }
/** /**
* <p>Returns a new instance of <code>klazz</code> created using constructor * <p>Returns a new instance of <code>cls</code> created using constructor
* with signature <code>parameterTypes</code> and actual arguments * with signature <code>parameterTypes</code> and actual arguments
* <code>args</code>.</p> * <code>args</code>.</p>
* *
@ -179,7 +179,7 @@ public static <T> T invokeExactConstructor(Class<T> cls, Object... args)
* @param cls the class to be constructed. * @param cls the class to be constructed.
* @param args actual argument array * @param args actual argument array
* @param parameterTypes parameter types array * @param parameterTypes parameter types array
* @return new instance of <code>klazz</code> * @return new instance of <code>cls</code>
* *
* @throws NoSuchMethodException if matching constructor cannot be found * @throws NoSuchMethodException if matching constructor cannot be found
* @throws IllegalAccessException thrown on the constructor's invocation * @throws IllegalAccessException thrown on the constructor's invocation