You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Michael Baessler (JIRA)" <ui...@incubator.apache.org> on 2007/12/05 09:00:43 UTC

[jira] Commented: (UIMA-242) Migration Tool creating unnecessary casts of CAS to CAS

    [ https://issues.apache.org/jira/browse/UIMA-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548569 ] 

Michael Baessler commented on UIMA-242:
---------------------------------------

If we do not fix this issue, I think we should close them.

Marshall what do you think?

> Migration Tool creating unnecessary casts of CAS to CAS
> -------------------------------------------------------
>
>                 Key: UIMA-242
>                 URL: https://issues.apache.org/jira/browse/UIMA-242
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Trivial
>
> 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(...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.