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: Adam Lally
            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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to