You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2007/03/13 22:56:36 UTC
svn commit: r517894 -
/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Author: bayard
Date: Tue Mar 13 14:56:35 2007
New Revision: 517894
URL: http://svn.apache.org/viewvc?view=rev&rev=517894
Log:
Adding note to Javadoc that copyProperties is for copying properties and not for copying the contents of arrays or Lists. I pondered adding that functionality, but there's already some weird Map->Bean functionality in place and I felt it would just confuse things as I would have had to somewhat fix that to allow for Map->Map copying.
Modified:
jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java?view=diff&rev=517894&r1=517893&r2=517894
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/PropertyUtilsBean.java Tue Mar 13 14:56:35 2007
@@ -207,6 +207,9 @@
* bean.<strong>Note</strong> that this method is intended to perform
* a "shallow copy" of the properties and so complex properties
* (for example, nested ones) will not be copied.</p>
+ *
+ * <p>Note, that this method will not copy a List to a List, or an Object[]
+ * to an Object[]. It's specifically for copying JavaBean properties. </p>
*
* @param dest Destination bean whose properties are modified
* @param orig Origin bean whose properties are retrieved
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org