Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06C55200C92 for ; Mon, 12 Jun 2017 11:45:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0586E160BDE; Mon, 12 Jun 2017 09:45:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4A11A160BD6 for ; Mon, 12 Jun 2017 11:45:03 +0200 (CEST) Received: (qmail 54634 invoked by uid 500); 12 Jun 2017 09:45:02 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 54622 invoked by uid 99); 12 Jun 2017 09:45:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2017 09:45:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2410E1A7B00 for ; Mon, 12 Jun 2017 09:45:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 8zbpVN1m9WxS for ; Mon, 12 Jun 2017 09:45:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 37B0A5FBDF for ; Mon, 12 Jun 2017 09:45:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8F86AE069F for ; Mon, 12 Jun 2017 09:45:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 54B7021E0C for ; Mon, 12 Jun 2017 09:45:00 +0000 (UTC) Date: Mon, 12 Jun 2017 09:45:00 +0000 (UTC) From: =?utf-8?Q?Francesco_Chicchiricc=C3=B2_=28JIRA=29?= To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (SYNCOPE-1106) Remove misleading getAttrMap and similar methods from TOs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Jun 2017 09:45:04 -0000 [ https://issues.apache.org/jira/browse/SYNCOPE-1106?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Francesco Chicchiricc=C3=B2 resolved SYNCOPE-1106. --------------------------------------------- Resolution: Fixed > Remove misleading getAttrMap and similar methods from TOs > --------------------------------------------------------- > > Key: SYNCOPE-1106 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1106 > Project: Syncope > Issue Type: Improvement > Components: common > Reporter: Francesco Chicchiricc=C3=B2 > Assignee: Francesco Chicchiricc=C3=B2 > 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 al= l attributes (of different types). > Using such methods, however, can be costing (the resulting map is built f= or each invocation) and also confusing, as one would expect that adding / r= emoving entries would result into effective attribute changes. > Such methods should be removed, and substituted with more tailored replac= ements where needed. -- This message was sent by Atlassian JIRA (v6.4.14#64029)