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/23 15:28:38 UTC
svn commit: r1449325 - in
/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils:
ConvertUtils.java ConvertUtilsBean.java
Author: britter
Date: Sat Feb 23 14:28:36 2013
New Revision: 1449325
URL: http://svn.apache.org/r1449325
Log:
[BEANUTILS-414] - Object org.apache.commons.beanutils.ConvertUtilsBean.convert(String value, Class clazz) nullPointException; Add documentation of permitted null inputs
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java?rev=1449325&r1=1449324&r2=1449325&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java Sat Feb 23 14:28:36 2013
@@ -231,7 +231,7 @@ public class ConvertUtils {
* <p>For more details see <code>ConvertUtilsBean</code>.</p>
*
* @param value Value to be converted (may be null)
- * @param clazz Java class to be converted to
+ * @param clazz Java class to be converted to (must not be null)
* @return The converted value
*
* @see ConvertUtilsBean#convert(String, Class)
@@ -250,7 +250,7 @@ public class ConvertUtils {
* <p>For more details see <code>ConvertUtilsBean</code>.</p>
*
* @param values Array of values to be converted
- * @param clazz Java array or element class to be converted to
+ * @param clazz Java array or element class to be converted to (must not be null)
* @return The converted value
*
* @see ConvertUtilsBean#convert(String[], Class)
@@ -266,7 +266,7 @@ public class ConvertUtils {
* possible).</p>
*
* @param value Value to be converted (may be null)
- * @param targetType Class of the value to be converted to
+ * @param targetType Class of the value to be converted to (must not be null)
* @return The converted value
*
* @exception ConversionException if thrown by an underlying Converter
Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java?rev=1449325&r1=1449324&r2=1449325&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java (original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java Sat Feb 23 14:28:36 2013
@@ -449,7 +449,7 @@ public class ConvertUtilsBean {
* possible). Otherwise, return a String representation of the value.
*
* @param value Value to be converted (may be null)
- * @param clazz Java class to be converted to
+ * @param clazz Java class to be converted to (must not be null)
* @return The converted value
*
* @exception ConversionException if thrown by an underlying Converter
@@ -480,7 +480,7 @@ public class ConvertUtilsBean {
* specified class.
*
* @param values Array of values to be converted
- * @param clazz Java array or element class to be converted to
+ * @param clazz Java array or element class to be converted to (must not be null)
* @return The converted value
*
* @exception ConversionException if thrown by an underlying Converter
@@ -516,7 +516,7 @@ public class ConvertUtilsBean {
* possible).</p>
*
* @param value Value to be converted (may be null)
- * @param targetType Class of the value to be converted to
+ * @param targetType Class of the value to be converted to (must not be null)
* @return The converted value
*
* @exception ConversionException if thrown by an underlying Converter
Re: svn commit: r1449325 - in /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils:
ConvertUtils.java ConvertUtilsBean.java
Posted by Simone Tripodi <si...@apache.org>.
congrats for your Chinese skills! :)
-Simo
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/
On Sat, Feb 23, 2013 at 3:28 PM, <br...@apache.org> wrote:
> Author: britter
> Date: Sat Feb 23 14:28:36 2013
> New Revision: 1449325
>
> URL: http://svn.apache.org/r1449325
> Log:
> [BEANUTILS-414] - Object org.apache.commons.beanutils.ConvertUtilsBean.convert(String value, Class clazz) nullPointException; Add documentation of permitted null inputs
>
> Modified:
> commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
> commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
>
> Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
> URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java?rev=1449325&r1=1449324&r2=1449325&view=diff
> ==============================================================================
> --- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java (original)
> +++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java Sat Feb 23 14:28:36 2013
> @@ -231,7 +231,7 @@ public class ConvertUtils {
> * <p>For more details see <code>ConvertUtilsBean</code>.</p>
> *
> * @param value Value to be converted (may be null)
> - * @param clazz Java class to be converted to
> + * @param clazz Java class to be converted to (must not be null)
> * @return The converted value
> *
> * @see ConvertUtilsBean#convert(String, Class)
> @@ -250,7 +250,7 @@ public class ConvertUtils {
> * <p>For more details see <code>ConvertUtilsBean</code>.</p>
> *
> * @param values Array of values to be converted
> - * @param clazz Java array or element class to be converted to
> + * @param clazz Java array or element class to be converted to (must not be null)
> * @return The converted value
> *
> * @see ConvertUtilsBean#convert(String[], Class)
> @@ -266,7 +266,7 @@ public class ConvertUtils {
> * possible).</p>
> *
> * @param value Value to be converted (may be null)
> - * @param targetType Class of the value to be converted to
> + * @param targetType Class of the value to be converted to (must not be null)
> * @return The converted value
> *
> * @exception ConversionException if thrown by an underlying Converter
>
> Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
> URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java?rev=1449325&r1=1449324&r2=1449325&view=diff
> ==============================================================================
> --- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java (original)
> +++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java Sat Feb 23 14:28:36 2013
> @@ -449,7 +449,7 @@ public class ConvertUtilsBean {
> * possible). Otherwise, return a String representation of the value.
> *
> * @param value Value to be converted (may be null)
> - * @param clazz Java class to be converted to
> + * @param clazz Java class to be converted to (must not be null)
> * @return The converted value
> *
> * @exception ConversionException if thrown by an underlying Converter
> @@ -480,7 +480,7 @@ public class ConvertUtilsBean {
> * specified class.
> *
> * @param values Array of values to be converted
> - * @param clazz Java array or element class to be converted to
> + * @param clazz Java array or element class to be converted to (must not be null)
> * @return The converted value
> *
> * @exception ConversionException if thrown by an underlying Converter
> @@ -516,7 +516,7 @@ public class ConvertUtilsBean {
> * possible).</p>
> *
> * @param value Value to be converted (may be null)
> - * @param targetType Class of the value to be converted to
> + * @param targetType Class of the value to be converted to (must not be null)
> * @return The converted value
> *
> * @exception ConversionException if thrown by an underlying Converter
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org