commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BEANUTILS-168) [beanutils] copyProperties(List, List) does not work - pls warn about this
Date Wed, 08 Nov 2006 01:54:57 GMT
     [ http://issues.apache.org/jira/browse/BEANUTILS-168?page=all ]

Henri Yandell updated BEANUTILS-168:
------------------------------------

      Bugzilla Id:   (was: 33176)
    Fix Version/s: 1.8.0

> [beanutils] copyProperties(List, List) does not work - pls warn about this
> --------------------------------------------------------------------------
>
>                 Key: BEANUTILS-168
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-168
>             Project: Commons BeanUtils
>          Issue Type: Improvement
>          Components: Bean / Property Utils
>         Environment: Operating System: All
> Platform: PC
>            Reporter: Ralf Hauser
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> my application tries to copy a list.
>   List workerList = new ArrayList();
>   BeanUtils.copyProperties(workerList, msg.getAllRecip());
> the size of the ArrayList allRecip in my msg object is 6.
> After the copy, the size of the workerList remains 0.
> Sure, 
>   workerList.addAll(msg.getAllRecip());
> works as an alternative, but wouldn't it be appropriate to warn the user of
> copyProperties ?
> Might be related to COM-343

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message