Quoting Patrick Scheuerer <[EMAIL PROTECTED]>: > If there are multiple methods with the same name, shouldn't copyProperties() > pick the one with the same method signature as in the source bean??? In my > opinion this would at least be a desirable default behavior....
No, it shouldn't. BeanUtils uses the standard JavaBeans introspection logic of the JDK to determine what the legal property names are, and what the getter and setter method names are (the default is getFoo and setFoo, but that can be changed). If you have two setters with the same name (but a different parameter type), then -- by definition -- this is not a JavaBeans property so it will be ignored by BeanUtils. See the JavaBeans Specification for more information: http://java.sun.com/products/javabeans/reference/api/index.html > > Patrick > Craig McClanahan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

