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

solidify the non-modification of additionalParameters passed to core sdk apis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.0SDK
    • 2.6.0SDK
    • Core Java Framework
    • None

    Description

      Many user-facing public APIs make use of a map for passing in additional parameters. This map is also used internally. The API contract for this is mostly that the map passed in is not altered. But occasionally, the framework augments or changes the map internally. This causes failures if a user passes in a non-modifiable map, or depends on the map having the same contents when the method it was passed into , returns. Most places in the UIMA Framework code already copy the map if they're going to modify it. Find the places where this is not yet done, and make those places also copy it.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: