commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-242) Add general array type conversion
Date Sun, 05 Nov 2006 03:50:17 GMT
    [ http://issues.apache.org/jira/browse/BEANUTILS-242?page=comments#action_12447218 ] 
            
Niall Pemberton commented on BEANUTILS-242:
-------------------------------------------

I have just commited the generic array converter - also created a JIRA encompassing a whole
load of Converter refactorings. See BEANUTILS-258

> Add general array type conversion
> ---------------------------------
>
>                 Key: BEANUTILS-242
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-242
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>    Affects Versions: 1.7.0
>            Reporter: Kenny MacLeod
>
> When using a method such as BeanUtils.copyProperty(), it would be good if it could automatically
handle conversion between array types, rather than having to explicitly write an array converter
for each target type.
> For example, if I pass a String[] to BeanUtils to copy on to a property of type Integer[],
then it would recognise the presense of an array, and then use the registered converters for
the arrays' component types to decide how to map them together.
> This would remove the need to essentially duplicate converters already written, just
to add array support.

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