Adam Lally wrote:
> On Fri, Aug 21, 2009 at 7:48 AM, Jörn Kottmann<kottm...@gmail.com> wrote:
>   
>> Jörn Kottmann wrote:
>>     
>>> Right now its declared as
>>>
>>> AbstractCas getCasInterface(CAS cas, Class<? extends AbstractCas>
>>> requiredInterface);
>>>
>>> but I think it should be
>>>
>>> <T extends AbstractCas> T getCasInterface(CAS cas, Class<? extends
>>> AbstractCas> requiredInterface);
>>>       
>> ups, it  must be:
>>
>> <T extends AbstractCas> T getCasInterface(CAS cas, Class<T>
>> requiredInterface);
>>
>>     
>
> Looks right.
>   -Adam
>   
+1   Marshall
>
>   

Reply via email to