You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/16 16:48:37 UTC

[8/8] git commit: [flex-asjs] [refs/heads/release0.8.0] - remove stuff we don't use anymore

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 <ah...@apache.org>
Authored: Tue May 16 09:41:03 2017 -0700
Committer: Alex Harui <ah...@apache.org>
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:*;