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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0SDK
    • Fix Version/s: 2.6.0SDK
    • Component/s: Core Java Framework
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: