You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2017/12/15 16:20:00 UTC
[jira] [Resolved] (UIMA-5677) uv3 internal list iterators - align
with definition of previous
[ https://issues.apache.org/jira/browse/UIMA-5677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor resolved UIMA-5677.
----------------------------------
Resolution: Fixed
> uv3 internal list iterators - align with definition of previous
> ---------------------------------------------------------------
>
> Key: UIMA-5677
> URL: https://issues.apache.org/jira/browse/UIMA-5677
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Affects Versions: 3.0.0SDK-beta
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Fix For: 3.0.0SDK
>
>
> The Java definition of previous and next says that next followed by previous followed by next etc. always returns the same value.
> In our impls, this means that
> * next returns the currently pointed-to object, then advances, and
> * previous first goes backwards, and then returns that object
> Some of our internal implementations implement previous by returning the currently pointed-to object and then goes backwards. Fix the implementations and uses (if any) (including the hasPrevious) to do this following the same conventions as Java.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)