commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Moritz <>
Subject [beanutils] BeanUtilsBean#setProperty() behaviour in 1.7 and 1.8
Date Mon, 07 Mar 2011 17:10:20 GMT

is there a reason for BeanUtilsBean#setProperty() in line 968 not
using the PropertyType of the current PropertyDescriptor as the type
of class to convert to, but instead the class of the value to be
Until beanutils 1.7 a String array was converted to a string using the
first element of the array; since 1.8 the string array is converted to
a string using the toString method of the array (as the destination
type is now an array type).
Why can't we use the property descriptor for these mapped properties, too?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message