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 64002200BB5 for ; Sun, 6 Nov 2016 15:49:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 60DF0160AFC; Sun, 6 Nov 2016 14:49:00 +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 A774B160AD0 for ; Sun, 6 Nov 2016 15:48:59 +0100 (CET) Received: (qmail 85420 invoked by uid 500); 6 Nov 2016 14:48:58 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 85408 invoked by uid 99); 6 Nov 2016 14:48:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2016 14:48:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C26BB2C0032 for ; Sun, 6 Nov 2016 14:48:58 +0000 (UTC) Date: Sun, 6 Nov 2016 14:48:58 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34880) Place Sort and SortField state setters behind mx_internal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 06 Nov 2016 14:49:00 -0000 [ https://issues.apache.org/jira/browse/FLEX-34880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mihai Chira updated FLEX-34880: ------------------------------- Description: (Both mx and spark) {{Sort}} and {{SortField}} will be transitioned to immutable objects to prevent bugs like FLEX-34853. In this step we are: # _removing the state setters from the interfaces_ ({{ISort}} and {{ISortField}}). # _hiding the state setters behind the {{mx_internal}} namespace_. This also implies renaming them (because a getter and a setter with different namespaces throw a compile error). The pattern is: {{public function set compareFunction(c:Function):void}} becomes {{mx_internal function set compareFunction_(c:Function):void}}. was: (Both mx and spark) {{Sort}} and {{SortField}} will be transitioned to immutable objects to prevent bugs like FLEX-34853. In this step we are: # removing the state setters from the interfaces ({{ISort}} and {{ISortField}}). # hiding the state setters behind the {{mx_internal}} namespace. This also implies renaming them (because a getter and a setter with different namespaces throw a compile error). The pattern is: {{public function set compareFunction(c:Function):void}} becomes {{mx_internal function set compareFunction_(c:Function):void}}. > Place Sort and SortField state setters behind mx_internal > --------------------------------------------------------- > > Key: FLEX-34880 > URL: https://issues.apache.org/jira/browse/FLEX-34880 > Project: Apache Flex > Issue Type: Sub-task > Components: Spark: Sort and SortField > Affects Versions: Apache Flex 4.15.0 > Reporter: Mihai Chira > Assignee: Mihai Chira > Fix For: Apache Flex 4.16.0 > > > (Both mx and spark) {{Sort}} and {{SortField}} will be transitioned to immutable objects to prevent bugs like FLEX-34853. In this step we are: > # _removing the state setters from the interfaces_ ({{ISort}} and {{ISortField}}). > # _hiding the state setters behind the {{mx_internal}} namespace_. This also implies renaming them (because a getter and a setter with different namespaces throw a compile error). The pattern is: {{public function set compareFunction(c:Function):void}} becomes {{mx_internal function set compareFunction_(c:Function):void}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)