You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2014/04/11 21:04:15 UTC

[jira] [Resolved] (UIMA-3732) solidify the non-modification of additionalParameters passed to core sdk apis

     [ https://issues.apache.org/jira/browse/UIMA-3732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor resolved UIMA-3732.
----------------------------------

    Resolution: Fixed

> 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)