[webbeans-dev] Re: Signature of Beans.getTypes()

Emmanuel Bernard emmanuel at hibernate.org
Thu May 7 05:53:10 EDT 2009


Returning bounded wildcards makes APIs quite annoying to use, is that  
necessary?

On  May 7, 2009, at 04:35, Gavin King wrote:

> I also notice that you have:
>
>   public abstract Set<? extends InjectionPoint> getInjectionPoints();
>
> are you sure that is correct? Do I also need to make that change?
>
> On Wed, May 6, 2009 at 9:33 PM, Gavin King <gavin.king at gmail.com>  
> wrote:
>> OK, I see you already made this change in the RI, so I will make it  
>> in the spec.
>>
>> On Thu, Mar 12, 2009 at 9:56 AM, Pete Muir <pete.muir at jboss.org>  
>> wrote:
>>> Probably should be
>>>
>>> public abstract Set<? extends Type> getTypes();
>>>
>>> not
>>>
>>> public abstract Set<Type> getTypes();
>>>
>>> --
>>> Pete Muir
>>> http://www.seamframework.org
>>> http://in.relation.to/Bloggers/Pete
>>>
>>>
>>
>>
>>
>> --
>> Gavin King
>> gavin.king at gmail.com
>> http://in.relation.to/Bloggers/Gavin
>> http://hibernate.org
>> http://seamframework.org
>>
>
>
>
> -- 
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list