[ 
https://issues.apache.org/jira/browse/UIMA-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783258#comment-13783258
 ] 

Richard Eckart de Castilho commented on UIMA-3325:
--------------------------------------------------

This is a variant of UIMA-2803 which unfortunately got overlooked when the 
latter got fixed :(

However, I believe the fix is backwards compatible and could go into version 
2.0.1. Basically, the return type should change from StringArrayFS to 
StringArray which is a class implementing StringArrayFS (and similarly for the 
other methods for primitive arrays).

> FSCollectionFactory.createStringArray returns StringArrayFS
> -----------------------------------------------------------
>
>                 Key: UIMA-3325
>                 URL: https://issues.apache.org/jira/browse/UIMA-3325
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Nicolai Erbs
>            Priority: Minor
>             Fix For: 2.0.1uimaFIT
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> FSCollectionFactory provides methods to convert java arrays to feature 
> structure arrays. In the current version it return a StringArrayFS but a 
> StringArray is needed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to