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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]