flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject [41/50] git commit: [flex-asjs] [refs/heads/feature/maven-migration] - removed unnecessary variable
Date Mon, 18 Apr 2016 13:27:04 GMT
removed unnecessary variable


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7e660ea7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7e660ea7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7e660ea7

Branch: refs/heads/feature/maven-migration
Commit: 7e660ea7fb7c5cefdecd794ff8797de675981481
Parents: 923fc78
Author: Harbs <harbs@in-tools.com>
Authored: Wed Apr 13 00:29:11 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Wed Apr 13 00:29:11 2016 +0300

----------------------------------------------------------------------
 frameworks/projects/XML/src/main/flex/XMLList.as | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7e660ea7/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 6b3e3d2..0dac7af 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -664,8 +664,7 @@ package
 		COMPILE::JS
 		public function setChild(elementName:*, elements:Object):void
 		{
-			var len:int = _xmlArray.length;
-			if(len == 1)
+			if(_xmlArray.length == 1)
 				_xmlArray[0].setChild(elementName,elements);
 
 		}


Mime
View raw message