You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2013/12/12 21:39:07 UTC

[jira] [Closed] (BEANUTILS-447) LazyDynaList.toArray() is not conform to the contract defined by the Collection interface

     [ https://issues.apache.org/jira/browse/BEANUTILS-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger closed BEANUTILS-447.
----------------------------------


> LazyDynaList.toArray() is not conform to the contract defined by the Collection interface
> -----------------------------------------------------------------------------------------
>
>                 Key: BEANUTILS-447
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-447
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: DynaBean
>    Affects Versions: 1.8.3
>            Reporter: Oliver Heger
>             Fix For: 1.9.0
>
>
> The documentation of the toArray(T[]) method says that the passed in array is used and returned if its size is sufficient. The implementation of {{LazyDynaList}} violates this contract; it always creates a new array.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)