You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2007/01/11 21:46:27 UTC
[jira] Created: (UIMA-183) (CAS/JCAS).getAnnotationIndex should
declare return type AnnotationIndex
(CAS/JCAS).getAnnotationIndex should declare return type AnnotationIndex
-------------------------------------------------------------------------
Key: UIMA-183
URL: https://issues.apache.org/jira/browse/UIMA-183
Project: UIMA
Issue Type: Improvement
Components: Core Java Framework
Reporter: Adam Lally
Assigned To: Thilo Goetz
Fix For: 2.1
The getAnnotationIndex methods declare return type FSIndex, and require the user to do a typecast to AnnotationIndex. Previously we were stuck with this because changing it would break binary compatibility, but now's our chance to clean it up. The change would be source-compatible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] Closed: (UIMA-183) (CAS/JCAS).getAnnotationIndex should
declare return type AnnotationIndex
Posted by Thilo Goetz <tw...@gmx.de>.
I think it would be good to have those APIs on the JCas, for consistency
with the CAS.
Marshall Schor wrote:
> Thilo Goetz (JIRA) wrote:
>> <snip> I noticed that in the JCas, getAnnotationIndex() is on the the
>> index repository, not on the JCas. That seems reasonable, but is
>> inconsistent with the poCAS.
>>
>
> I think it should also be on the JCas, forwarding to the CAS. Any
> objection to my adding it?
>
> -Marshall
Re: [jira] Closed: (UIMA-183) (CAS/JCAS).getAnnotationIndex should
declare return type AnnotationIndex
Posted by Marshall Schor <ms...@schor.com>.
Thilo Goetz (JIRA) wrote:
> <snip> I noticed that in the JCas, getAnnotationIndex() is on the the index repository, not on the JCas. That seems reasonable, but is inconsistent with the poCAS.
>
I think it should also be on the JCas, forwarding to the CAS. Any
objection to my adding it?
-Marshall
[jira] Closed: (UIMA-183) (CAS/JCAS).getAnnotationIndex should
declare return type AnnotationIndex
Posted by "Thilo Goetz (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thilo Goetz closed UIMA-183.
----------------------------
Resolution: Fixed
Done. I noticed that in the JCas, getAnnotationIndex() is on the the index repository, not on the JCas. That seems reasonable, but is inconsistent with the poCAS.
> (CAS/JCAS).getAnnotationIndex should declare return type AnnotationIndex
> -------------------------------------------------------------------------
>
> Key: UIMA-183
> URL: https://issues.apache.org/jira/browse/UIMA-183
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Reporter: Adam Lally
> Assigned To: Thilo Goetz
> Fix For: 2.1
>
>
> The getAnnotationIndex methods declare return type FSIndex, and require the user to do a typecast to AnnotationIndex. Previously we were stuck with this because changing it would break binary compatibility, but now's our chance to clean it up. The change would be source-compatible.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira