[ 
https://issues.apache.org/jira/browse/UIMA-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marshall Schor resolved UIMA-4095.
----------------------------------
    Resolution: Fixed

> moveTo for bag index incorrectly setting position to 0 if not found
> -------------------------------------------------------------------
>
>                 Key: UIMA-4095
>                 URL: https://issues.apache.org/jira/browse/UIMA-4095
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 2.6.1SDK
>
>
> The bag index implementation for moveTo(fs) sets an invalid iterator position 
> when the new PositiveIntSet impl is being used.  moveTo(fs) doesn't really 
> have a good meaning for bag indexes, since there's no "key" to use in 
> comparing.  But the current impl does a "reasonable" thing of a) moving to 
> the == identical FS if it exists in the index, or (it tries to ) move to the 
> first one.  Change the impl to actually moveToFirst() if not found, so it 
> works also with the PositiveIntSet impl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to