[ https://issues.apache.org/jira/browse/LANG-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498754 ]
Henri Yandell commented on LANG-336: ------------------------------------ I wonder if this kind of method can be legal... public Object<T>[] foo(T ... t) { .... } Must play. Btw, don't just blindly generify things, rethink APIs if it makes sense. We do need to keep a lot of our primitive stuff in NumberUtils etc; I imagine there's enough of a performance loss in autoboxing to make us not want to blindly use that in many places. > Finally start using generics. > ----------------------------- > > Key: LANG-336 > URL: https://issues.apache.org/jira/browse/LANG-336 > Project: Commons Lang > Issue Type: Improvement > Affects Versions: 2.3 > Reporter: Hendrik Maryns > Attachments: commons-lang-2.3-sources-generic.tar.gz, lang.patch > > > It is obvious that the Jakarta project is reluctant in starting to use the > 'new' (how old is it by now?) generics feature of Java. Nevertheless some > other people would like to see it incorporated in the commons projects. > I adapted commons Lang to usee generics. Took me about an afternoon. Would > be nice if something is done with it, except for only me using it in my > projects. > Some stuff will have to be changed to conform to guidelines and stuff. -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]