flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From que...@apache.org
Subject git commit: [flex-sdk] [refs/heads/XMLListCollectionOptimizations] - Update to make XMLListAdapter pass tests after last commit.
Date Wed, 21 May 2014 20:05:45 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/XMLListCollectionOptimizations 789832fc4 -> 4c5defffe


Update to make XMLListAdapter pass tests after last commit.


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

Branch: refs/heads/XMLListCollectionOptimizations
Commit: 4c5defffe5c30f94952b68cf1c67806bdd08c647
Parents: 789832f
Author: Nick Kwiatkowski <nk@msu.edu>
Authored: Wed May 21 16:05:24 2014 -0400
Committer: Nick Kwiatkowski <nk@msu.edu>
Committed: Wed May 21 16:05:24 2014 -0400

----------------------------------------------------------------------
 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/4c5defff/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 84b8655..b349f92 100644
--- a/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
+++ b/frameworks/projects/framework/src/mx/collections/XMLListAdapter.as
@@ -232,7 +232,7 @@ public class XMLListAdapter extends EventDispatcher implements IList,
IXMLNotifi
                     new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
             event.kind = CollectionEventKind.ADD;
             event.items.push(item);
-            event.location = index;
+            event.location = source.length()-1;
             dispatchEvent(event);
         }
 


Mime
View raw message