You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/04/18 15:27:04 UTC

[41/50] git commit: [flex-asjs] [refs/heads/feature/maven-migration] - removed unnecessary variable

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 <ha...@in-tools.com>
Authored: Wed Apr 13 00:29:11 2016 +0300
Committer: Harbs <ha...@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);
 
 		}