Jörn Kottmann wrote:
Right now its declared asAbstractCas 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);