[
https://issues.apache.org/jira/browse/UIMA-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009186#comment-17009186
]
Marshall Schor commented on UIMA-6159:
--------------------------------------
I tried changing methods like startAt(TOP) to startAt(FeatureStructure). This
worked in the sense that all existing code, including test cases, continued to
compile without error and run OK.
However, the Java API Compatibility report shows each method having REMOVED and
a NEW - saying that the removed method is binary incompatible. So, perhaps I
need to keep these previous methods in the interface code (SelectFS).
> 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)