You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (Updated JIRA)" <ji...@apache.org> on 2012/03/28 15:40:28 UTC

[jira] [Updated] (SYNCOPE-49) Make utility maps returned by TO's methods read-only

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

Francesco Chicchiriccò updated SYNCOPE-49:
------------------------------------------

    Fix Version/s: 1.0.0-incubating
    
> Make utility maps returned by TO's methods read-only
> ----------------------------------------------------
>
>                 Key: SYNCOPE-49
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-49
>             Project: Syncope
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.0.0-incubating
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>             Fix For: 1.0.0-incubating
>
>
> Maps returned by TO's methods (like as UserTO.getAttributeMap) return a map instance that will not ever be considered for putting or updating entries (there are already appropriate methods for this, like as UserTO.addAttribute() or UserTO.removeAttribute()).
> Make such maps read-only by using Collections.unmodifiableMap().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira