uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3732) solidify the non-modification of additionalParameters passed to core sdk apis
Date Wed, 09 Apr 2014 18:44:14 GMT
Marshall Schor created UIMA-3732:
------------------------------------

             Summary: solidify the non-modification of additionalParameters passed to core
sdk apis
                 Key: UIMA-3732
                 URL: https://issues.apache.org/jira/browse/UIMA-3732
             Project: UIMA
          Issue Type: Improvement
          Components: Core Java Framework
    Affects Versions: 2.5.0SDK
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor
             Fix For: 2.6.0SDK


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message