Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
Old code had things like:
TCAS tcas = (TCAS) jcasType.jcas.getCas();
are converted to
CAS tcas = (CAS) jcasType.jcas.getCas();
which cause a warning saying there's an unnecessary cast from CAS to CAS.
Another case: ((TCAS)jcas.getCas()).getAnnotationIndex(...