generics: CasManager.getCasInterface
Right now its declared as AbstractCas getCasInterface(CAS cas, Class requiredInterface); but I think it should be T getCasInterface(CAS cas, ClassAbstractCas> requiredInterface); I will change it if there are no objections. Jörn
Re: generics: CasManager.getCasInterface
Jörn Kottmann wrote: Right now its declared as AbstractCas getCasInterface(CAS cas, Class requiredInterface); but I think it should be T getCasInterface(CAS cas, ClassAbstractCas> requiredInterface); ups, it must be: T getCasInterface(CAS cas, Class requiredInterface);
Re: generics: CasManager.getCasInterface
On Fri, Aug 21, 2009 at 7:48 AM, Jörn Kottmann wrote: > Jörn Kottmann wrote: >> >> Right now its declared as >> >> AbstractCas getCasInterface(CAS cas, Class >> requiredInterface); >> >> but I think it should be >> >> T getCasInterface(CAS cas, Class> AbstractCas> requiredInterface); > > ups, it must be: > > T getCasInterface(CAS cas, Class > requiredInterface); > Looks right. -Adam
Re: generics: CasManager.getCasInterface
Adam Lally wrote: > On Fri, Aug 21, 2009 at 7:48 AM, Jörn Kottmann wrote: > >> Jörn Kottmann wrote: >> >>> Right now its declared as >>> >>> AbstractCas getCasInterface(CAS cas, Class >>> requiredInterface); >>> >>> but I think it should be >>> >>> T getCasInterface(CAS cas, Class>> AbstractCas> requiredInterface); >>> >> ups, it must be: >> >> T getCasInterface(CAS cas, Class >> requiredInterface); >> >> > > Looks right. > -Adam > +1 Marshall > >