Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-215

CasCopier constructor should take source CAS as argument

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • Core Java Framework
    • 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.

      Attachments

        Activity

          People

            eddie_epstein Eddie Epstein
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: