syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (SYNCOPE-1106) Remove misleading getAttrMap and similar methods from TOs
Date Mon, 12 Jun 2017 09:44:00 GMT


ASF subversion and git services commented on SYNCOPE-1106:

Commit 31cffd4ec3fc6ba0b4ca1a96732299be7d585bab in syncope's branch refs/heads/2_0_X from
[;h=31cffd4 ]

[SYNCOPE-1106] Removed methods returning Map, added methods for getting attribute for specific

> Remove misleading getAttrMap and similar methods from TOs
> ---------------------------------------------------------
>                 Key: SYNCOPE-1106
>                 URL:
>             Project: Syncope
>          Issue Type: Improvement
>          Components: common
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>             Fix For: 2.0.4, 2.1.0
> {{ConnObjectTO}} and the classes implementing {{AttributableTO}} provide methods like
as {{getAttrMap()}}, {{getPlainAttrMap()}}, {{getDerAttrMap()}} and {{getVirAttrMap()}}, with
purpose of providing a read-only view of all attributes (of different types).
> Using such methods, however, can be costing (the resulting map is built for each invocation)
and also confusing, as one would expect that adding / removing entries would result into effective
attribute changes.
> Such methods should be removed, and substituted with more tailored replacements where

This message was sent by Atlassian JIRA

View raw message