You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2020/11/02 20:23:00 UTC

[jira] [Resolved] (UIMA-6287) FSArray.spliterator() fails to handle PEAR case

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

Richard Eckart de Castilho resolved UIMA-6287.
----------------------------------------------
    Resolution: Fixed

> FSArray.spliterator() fails to handle PEAR case
> -----------------------------------------------
>
>                 Key: UIMA-6287
>                 URL: https://issues.apache.org/jira/browse/UIMA-6287
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Major
>             Fix For: 3.2.0SDK
>
>
> When used in the context of a PEAR, FSArrays internally store the "base" version of a feature structure for their elements. When accessing the elements e.g. via the {{get\(i)}}, method, this "base" version is converted to the proper version for the given PEAR context on access.
> However, the {{FSArray.spliterator()}} method does not perform this conversion and directly returns the "base" versions.
> The {{toArray(...)}} method is also affected by the problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)