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

Marshall Schor resolved UIMA-2379.
----------------------------------

    Resolution: Fixed

updated the Javadocs.  In the case of copyFromArray - it says not supported. In 
the case of copyToArray it clarifies what is produced.
                
> can't intuit meaning of copyFromArray and copyToArray methods on FSArray
> ------------------------------------------------------------------------
>
>                 Key: UIMA-2379
>                 URL: https://issues.apache.org/jira/browse/UIMA-2379
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.3
>            Reporter: Mike Barborak
>            Priority: Minor
>
> Regarding this method on org.apache.uima.jcas.cas.FSArray:
> public void copyFromArray(String[] src, int srcOffset, int destOffset, int 
> length)
> I read in the 2.3.0 documentation, "Description copied from interface: 
> CommonArrayFS. Copy the contents of an external string array into this array. 
> The strings are parsed and converted to floats."
> This seems incorrect.
> It also does not seem informative enough. If I have a feature that is an 
> FSArray of feature structures, what does it mean to copy from an array of 
> strings?
> Related is what it means to copy such an FSArray of feature structures to an 
> array of strings. Is there some contract implied here?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to