You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/06/26 17:43:30 UTC
[jira] Commented: (BEANUTILS-242) Add general array type conversion
[ http://issues.apache.org/jira/browse/BEANUTILS-242?page=comments#action_12417832 ]
Niall Pemberton commented on BEANUTILS-242:
-------------------------------------------
I agree - I have something in-progress on this (wriiten, not yet tested)
> Add general array type conversion
> ---------------------------------
>
> Key: BEANUTILS-242
> URL: http://issues.apache.org/jira/browse/BEANUTILS-242
> Project: Commons BeanUtils
> Type: New Feature
> Versions: 1.7.0 Release
> 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