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