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);

Reply via email to