uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Baessler (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-242) Migration Tool creating unnecessary casts of CAS to CAS
Date Wed, 05 Dec 2007 08:00:43 GMT

    [ 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.


Mime
View raw message