Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.