[
https://issues.apache.org/jira/browse/LANG-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542058
]
joehni edited comment on LANG-333 at 11/12/07 11:41 PM:
----------------------------------------------------------------
Hmmm. Looking at the other methods in ArrayUtils and comparing them with the
one in ClassUtils, I wonder if the right place for this code would haven been
rather in ClassUtils ?
And the unit test code should use ClassUtils.getShortName instead of using the
JDK 5 method CLass.getSimpleName ... see failing Continuum.
was (Author: joehni):
Hmmm. Looking at the other methods in ArrayUtils and comparing them with
the one in ClassUtils, I wonder if the right place for this code would haven
been rather in ClassUtils ?
> ArrayUtils.toClass
> ------------------
>
> Key: LANG-333
> URL: https://issues.apache.org/jira/browse/LANG-333
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Jörg Gottschling
> Fix For: 2.4
>
> Attachments: LANG-333.patch
>
>
> ArrayUtils should have a Method toClass(array : Object[]) : Class[] which
> creates a new Array with the Class-Objects of the Objects in the Array. Very
> nice for Reflection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.