flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - typo
Date Tue, 12 Apr 2016 21:27:12 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 9ce42e25f -> 923fc7885


typo


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

Branch: refs/heads/develop
Commit: 923fc7885507eedea3be05abf07d7743a3ad859c
Parents: 9ce42e2
Author: Harbs <harbs@in-tools.com>
Authored: Wed Apr 13 00:27:07 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Wed Apr 13 00:27:07 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/923fc788/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 8284bda..6b3e3d2 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -665,7 +665,7 @@ package
 		public function setChild(elementName:*, elements:Object):void
 		{
 			var len:int = _xmlArray.length;
-			if(len == 0)
+			if(len == 1)
 				_xmlArray[0].setChild(elementName,elements);
 
 		}


Mime
View raw message