You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2014/03/07 02:05:28 UTC

[18/50] git commit: [flex-sdk] [refs/heads/master] - reverting FLEX-34101 as this cause several spark list test to fails and one to RTE

reverting FLEX-34101 as this cause several spark list test to fails and one to RTE


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

Branch: refs/heads/master
Commit: 27236b658e1920a462dc64554e73039bb10f4159
Parents: 203a3ed
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Feb 26 08:20:56 2014 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Feb 26 08:20:56 2014 +1100

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


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/27236b65/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
index 3610d28..3ef2f1a 100644
--- a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
+++ b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
@@ -1208,7 +1208,7 @@ public class ListCollectionView extends Proxy
 			throw new CollectionViewError(message);
 		}
 
-        if (localIndex && addedItems.length > 0)
+        if (localIndex && addedItems.length > 1)
         {
             addLocation = -1;
         }