commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenny MacLeod (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEANUTILS-242) Add general array type conversion
Date Mon, 26 Jun 2006 15:35:29 GMT
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


Mime
View raw message