commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BEANUTILS-447) LazyDynaList.toArray() is not conform to the contract defined by the Collection interface
Date Thu, 12 Dec 2013 20:39:07 GMT

     [ 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)

Mime
View raw message