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

Adam Lally closed UIMA-215.
---------------------------


CAS Copier has been tested by a user, closing.

> CasCopier constructor should take source CAS as argument
> --------------------------------------------------------
>
>                 Key: UIMA-215
>                 URL: https://issues.apache.org/jira/browse/UIMA-215
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Adam Lally
>         Assigned To: Eddie Epstein
>            Priority: Minor
>             Fix For: 2.1
>
>
> This would encourage users to create a new CasCopier for each source CAS.  
> This can be important in a CAS merger, where the CasMultiplier wants to copy 
> from multiple CASes that were passed to its process method.  The CasCopier 
> should be discarded after each call to process because its internal HashMap 
> holds FeatureStructure references, which are not valid after the process 
> method has completed and the source CAS has been reset.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to