You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/02/25 21:47:24 UTC
svn commit: r1449882 -
/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
Author: britter
Date: Mon Feb 25 20:47:23 2013
New Revision: 1449882
URL: http://svn.apache.org/r1449882
Log:
Document behavior for null inputs - no functional changes
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java?rev=1449882&r1=1449881&r2=1449882&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java Mon Feb 25 20:47:23 2013
@@ -64,7 +64,7 @@ public class ConstructorUtils {
* <p>The signatures should be assignment compatible.</p>
*
* @param klass the class to be constructed.
- * @param arg the actual argument
+ * @param arg the actual argument. May be null (this will result in calling the default constructor).
* @return new instance of <code>klazz</code>
*
* @throws NoSuchMethodException If the constructor cannot be found
@@ -93,7 +93,7 @@ public class ConstructorUtils {
* <p>The signatures should be assignment compatible.</p>
*
* @param klass the class to be constructed.
- * @param args actual argument array
+ * @param args actual argument array. May be null (this will result in calling the default constructor).
* @return new instance of <code>klazz</code>
*
* @throws NoSuchMethodException If the constructor cannot be found
@@ -128,7 +128,7 @@ public class ConstructorUtils {
* <p>The signatures should be assignment compatible.</p>
*
* @param klass the class to be constructed.
- * @param args actual argument array
+ * @param args actual argument array. May be null (this will result in calling the default constructor).
* @param parameterTypes parameter types array
* @return new instance of <code>klazz</code>
*
@@ -173,7 +173,7 @@ public class ConstructorUtils {
* <p>The signatures should match exactly.</p>
*
* @param klass the class to be constructed.
- * @param arg the actual argument
+ * @param arg the actual argument. May be null (this will result in calling the default constructor).
* @return new instance of <code>klazz</code>
*
* @throws NoSuchMethodException If the constructor cannot be found
@@ -202,7 +202,7 @@ public class ConstructorUtils {
* <p>The signatures should match exactly.</p>
*
* @param klass the class to be constructed.
- * @param args actual argument array
+ * @param args actual argument array. May be null (this will result in calling the default constructor).
* @return new instance of <code>klazz</code>
*
* @throws NoSuchMethodException If the constructor cannot be found
@@ -238,7 +238,7 @@ public class ConstructorUtils {
* <p>The signatures should match exactly.</p>
*
* @param klass the class to be constructed.
- * @param args actual argument array
+ * @param args actual argument array. May be null (this will result in calling the default constructor).
* @param parameterTypes parameter types array
* @return new instance of <code>klazz</code>
*