Repository: flex-sdk Updated Branches: refs/heads/develop 3152f45b9 -> b2aaf9da6
FLEX-34727 changed original patch to actuall check for reset and refresh event kinds. Previous patch would have broken adding/removing nulls Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/b2aaf9da Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/b2aaf9da Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/b2aaf9da Branch: refs/heads/develop Commit: b2aaf9da6cf33c769091c8974ce731fcb093ce6b Parents: 3152f45 Author: chrsmrtn <[email protected]> Authored: Sat Jun 13 18:05:07 2015 -0700 Committer: chrsmrtn <[email protected]> Committed: Sat Jun 13 18:10:49 2015 -0700 ---------------------------------------------------------------------- frameworks/projects/framework/src/mx/collections/ArrayList.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/b2aaf9da/frameworks/projects/framework/src/mx/collections/ArrayList.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/src/mx/collections/ArrayList.as b/frameworks/projects/framework/src/mx/collections/ArrayList.as index c1346b9..c2f1a1b 100644 --- a/frameworks/projects/framework/src/mx/collections/ArrayList.as +++ b/frameworks/projects/framework/src/mx/collections/ArrayList.as @@ -752,7 +752,7 @@ public class ArrayList extends EventDispatcher var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE); event.kind = kind; - if(item != null) + if(kind != CollectionEventKind.RESET && kind != CollectionEventKind.REFRESH) event.items.push(item); event.location = location; dispatchEvent(event);
