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 5FD00200C7D for ; Tue, 16 May 2017 18:48:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5E8A9160BD6; Tue, 16 May 2017 16:48:34 +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 B272F160BC9 for ; Tue, 16 May 2017 18:48:33 +0200 (CEST) Received: (qmail 54497 invoked by uid 500); 16 May 2017 16:48:32 -0000 Mailing-List: contact commits-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 commits@flex.apache.org Received: (qmail 54388 invoked by uid 99); 16 May 2017 16:48:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 16:48:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 03E43E9637; Tue, 16 May 2017 16:48:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Date: Tue, 16 May 2017 16:48:37 -0000 Message-Id: <3f3bb62a89d64cadbcb40ba321271b10@git.apache.org> In-Reply-To: <549b7e1c3559483981c61c6532224846@git.apache.org> References: <549b7e1c3559483981c61c6532224846@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [8/8] git commit: [flex-asjs] [refs/heads/release0.8.0] - remove stuff we don't use anymore archived-at: Tue, 16 May 2017 16:48:34 -0000 remove stuff we don't use anymore Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/508b457f Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/508b457f Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/508b457f Branch: refs/heads/release0.8.0 Commit: 508b457f1a0deb18782abff4f0db731aa5526269 Parents: af1f5c9 Author: Alex Harui Authored: Tue May 16 09:41:03 2017 -0700 Committer: Alex Harui Committed: Tue May 16 09:47:41 2017 -0700 ---------------------------------------------------------------------- .../main/flex/org/apache/flex/utils/Language.as | 100 ------------------- 1 file changed, 100 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/508b457f/frameworks/projects/Language/src/main/flex/org/apache/flex/utils/Language.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/Language/src/main/flex/org/apache/flex/utils/Language.as b/frameworks/projects/Language/src/main/flex/org/apache/flex/utils/Language.as index c02ecbf..8a63ad0 100644 --- a/frameworks/projects/Language/src/main/flex/org/apache/flex/utils/Language.as +++ b/frameworks/projects/Language/src/main/flex/org/apache/flex/utils/Language.as @@ -220,106 +220,6 @@ package org.apache.flex.utils return isClass(classDef) ? classDef : null; } - /** - * postdecrement handles foo-- - * - * @param obj The object with the getter/setter. - * @param prop The name of a property. - * @return {number} - */ - static public function postdecrement(obj:Object, prop:String):int - { - var value:int = obj[prop]; - obj[prop] = value - 1; - return value; - } - - /** - * postincrement handles foo++ - * - * @param obj The object with the getter/setter. - * @param prop The name of a property. - * @return {number} - */ - static public function postincrement(obj:Object, prop:String):int - { - var value:int = obj[prop]; - obj[prop] = value + 1; - return value; - } - - /** - * predecrement handles --foo - * - * @param obj The object with the getter/setter. - * @param prop The name of a property. - * @return {number} - */ - static public function predecrement(obj:Object, prop:String):int - { - var value:int = obj[prop] - 1; - obj[prop] = value; - return value; - } - - /** - * preincrement handles ++foo - * - * @param obj The object with the getter/setter. - * @param prop The name of a property. - * @return {number} - */ - static public function preincrement(obj:Object, prop:String):int - { - var value:int = obj[prop] + 1; - obj[prop] = value; - return value; - } - - /** - * superGetter calls the getter on the given class' superclass. - * - * @param clazz The class. - * @param pthis The this pointer. - * @param prop The name of the getter. - * @return {Object} - */ - static public function superGetter(clazz:Object, pthis:Object, prop:String):Object - { - var superClass:Object = clazz.superClass_; - var superdesc:Object = Object.getOwnPropertyDescriptor(superClass, prop); - - while (superdesc == null) - { - superClass = superClass.constructor; - superClass = superClass.superClass_; - superdesc = Object.getOwnPropertyDescriptor(superClass, prop); - } - return superdesc.get.call(pthis); - } - - /** - * superSetter calls the setter on the given class' superclass. - * - * @param clazz The class. - * @param pthis The this pointer. - * @param prop The name of the getter. - * @param value The value. - */ - static public function superSetter(clazz:Object, pthis:Object, prop:String, value:Object):void - { - var superClass:Object = clazz.superClass_; - var superdesc:Object = Object.getOwnPropertyDescriptor(superClass, prop); - - while (superdesc == null) - { - superClass = superClass.constructor; - superClass = superClass.superClass_; - superdesc = Object.getOwnPropertyDescriptor(superClass, prop); - } - superdesc.set.apply(pthis, [value]); - } - static public function trace(...rest):void { var theConsole:*;