[ 
https://issues.apache.org/jira/browse/LANG-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498772
 ] 

Tom Nichols commented on LANG-336:
----------------------------------

Henri Yandell [24/May/07 11:12 AM]:
"I wonder if this kind of method can be legal...
public Object<T>[] foo(T ... t) { "

Don't you mean:
public T[] foo( T... t ) { ... }   ?  or  public Class<T>[] foo( T... t ) { ... 
}  ?  

Object doesn't take any generic parameters...

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

Reply via email to