You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/08/09 19:30:33 UTC
[royale-asjs] 09/10: get this to compile
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit f7e8a8a21ca303295430264a8f125de17b2d18e2
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Aug 9 12:03:24 2018 -0700
get this to compile
---
.../MXRoyale/src/main/royale/mx/collections/XMLListAdapter.as | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/collections/XMLListAdapter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/collections/XMLListAdapter.as
index 350667c..c614694 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/collections/XMLListAdapter.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/collections/XMLListAdapter.as
@@ -20,16 +20,15 @@
package mx.collections
{
-import org.apache.royale.events.EventDispatcher;
-import org.apache.royale.reflection.getQualifiedClassName;
import mx.events.CollectionEvent;
import mx.events.CollectionEventKind;
import mx.events.PropertyChangeEvent;
import mx.events.PropertyChangeEventKind;
-//import mx.resources.IResourceManager;
-//import mx.resources.ResourceManager;
import mx.utils.IXMLNotifiable;
import mx.utils.XMLNotifier;
+
+import org.apache.royale.events.EventDispatcher;
+import org.apache.royale.reflection.getQualifiedClassName;
import org.apache.royale.utils.UIDUtil;
//--------------------------------------
@@ -165,7 +164,7 @@ public class XMLListAdapter extends EventDispatcher implements IList, IXMLNotifi
stopTrackUpdates(_source[i]);
}
}
- _source = s ? s : XMLList(<></>);
+ _source = s ? s : new XMLList(); // was XMLList(<></>);
// get a seed UID. XML seems to have problems cleaning up
// UIDs, so this makes UIDs more similar and uses less