[
https://issues.apache.org/jira/browse/UIMA-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009175#comment-17009175
]
Marshall Schor commented on UIMA-6159:
--------------------------------------
I suspect the performance optimization (if any) from avoiding a cast from
FeatureStructure to TOP is not worth having both methods... It may be worth
having both methods if that avoids semantic versioning issues (with both, we
will only be "adding" new methods).
> select.startAt() cannot be called with AnnotationFS argument
> ------------------------------------------------------------
>
> Key: UIMA-6159
> URL: https://issues.apache.org/jira/browse/UIMA-6159
> Project: UIMA
> Issue Type: Improvement
> Components: UIMA
> Affects Versions: 3.1.1SDK
> Reporter: Richard Eckart de Castilho
> Priority: Major
>
> The method
> SelectFSs<T> startAt(TOP fs);
> Does not accept an `AnnotationFS` instance as argument because AnnotationFS
> does not extend TOP. However, the documentation clearly states that this
> method requires an AnnotationIndex and a "starting position", so I guess it
> only works for subtypes of AnnotationFS?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)