FLEX-34285 fix issue with remove

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

Branch: refs/heads/VF2JS
Commit: 7dbf49273fef8d50cff9f83bc35a8287f90c89e4
Parents: 5f7ae68
Author: Justin Mclean <jmcl...@apache.org>
Authored: Mon Jul 7 18:56:51 2014 +1000
Committer: Erik de Bruin <e...@ixsoftware.nl>
Committed: Mon Jul 28 11:39:44 2014 +0200

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/collections/XMLListAdapter.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/7dbf4927/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as 
b/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
index 17d2173..0a8b5e6 100644
--- a/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
+++ b/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
@@ -420,7 +420,7 @@ public class XMLListAdapter extends EventDispatcher 
implements IList, IXMLNotifi
         */
        public function removeItem( item:Object ):Boolean
        {
-               var _item:Object = removeItemAt[getItemIndex(item)];
+               var _item:Object = removeItemAt(getItemIndex(item));
                return _item != null;
        }
        

Reply via email to