commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-274) Support for multidimensional array conversion
Date Tue, 25 Jul 2006 18:33:15 GMT
    [ http://issues.apache.org/jira/browse/LANG-274?page=comments#action_12423402 ] 
            
Henri Yandell commented on LANG-274:
------------------------------------

Thanks for the suggestion Andres. It's always very cool to see suggestions from other open
source projects.

I'm +1 to being able to move from [] to [][][][]....[] for Lang 2.3. Any chance of a patch
for ArrayUtils and ArrayUtilsTest?

Failing that, which particular code are you suggesting from the json-lib converter framework?
One thing we've tried hard to do with Lang is to not create large numbers of interfaces that
the user has to learn about and extend. Instead it focuses on having lots of useful functions
that can be used in any situation.

There was also a converter project started that we really need to try and figure out how to
move again as its something that people need.

> Support for multidimensional array conversion
> ---------------------------------------------
>
>                 Key: LANG-274
>                 URL: http://issues.apache.org/jira/browse/LANG-274
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Andres Almiray
>            Priority: Minor
>
> Only unidimenisional array conversions are supported by ArrayUtils. I recently had the
new for this and seeing that Lang does not support the feature, I hacked it myself (please
see json-lib's <a href="http://json-lib.cvs.sourceforge.net/json-lib/json-lib/">cvs</a>/<a
href="http://json-lib.sourceforge.net/apidocs/net/sf/json/converter/package-frame.html">javadoc</a>
for reference). I think that this feature may be useful to others and that json-lib is not
the correct project for it.
> This issue is at the boundaries between lang and beanutils. Lang allows the conversion
of an unidimensional array between wrappers and primitives. BeanUtils allows conversion from
String to unidimensional arrays. As BeanUtils is more fragile then Lang I thought this was
the correct place to post the issue.

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