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/feature/maven-migration Commit: 923fc7885507eedea3be05abf07d7743a3ad859c Parents: 9ce42e2 Author: Harbs <[email protected]> Authored: Wed Apr 13 00:27:07 2016 +0300 Committer: Harbs <[email protected]> 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); }
