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] Resolved: (BEANUTILS-242) Add general array type conversion
Date Sun, 20 May 2007 08:18:16 GMT

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

Niall Pemberton resolved BEANUTILS-242.
---------------------------------------

    Resolution: Fixed
      Assignee: Niall Pemberton

The new "generic" ArrayConverter is now registered as the default and the previous converter
implementations for arrays have been deprecated

> Add general array type conversion
> ---------------------------------
>
>                 Key: BEANUTILS-242
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-242
>             Project: Commons BeanUtils
>          Issue Type: New Feature
>          Components: ConvertUtils & Converters
>    Affects Versions: 1.7.0
>            Reporter: Kenny MacLeod
>         Assigned To: Niall Pemberton
>             Fix For: 1.8.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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