flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mih...@apache.org
Subject [11/12] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34854 Renamed a local variable to make it more clear what type of items is in the Array.
Date Mon, 08 Jun 2015 18:02:38 GMT
FLEX-34854
Renamed a local variable to make it more clear what type of items is in the Array.


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

Branch: refs/heads/develop
Commit: 4bdf75f3b420c3fa4bac97f3e0494f019a902a5d
Parents: 8b90f8b
Author: Mihai Chira <mihaic@apache.org>
Authored: Mon Jun 8 19:23:35 2015 +0200
Committer: Mihai Chira <mihaic@apache.org>
Committed: Mon Jun 8 19:23:35 2015 +0200

----------------------------------------------------------------------
 .../framework/src/mx/collections/ListCollectionView.as       | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/4bdf75f3/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 f5bef43..367fdd5 100644
--- a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
+++ b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as
@@ -1805,18 +1805,18 @@ public class ListCollectionView extends Proxy
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    private function replaceItemsInView(items:Array,
+    private function replaceItemsInView(changeEvents:Array,
                                           location:int,
                                           dispatch:Boolean = true):void
     {
         if (localIndex)
         {
-            var len:int = items.length;
+            var len:int = changeEvents.length;
             var oldItems:Array = [];
             var newItems:Array = [];
             for (var i:int = 0; i < len; i++)
             {
-                var propertyEvent:PropertyChangeEvent = items[i];
+                var propertyEvent:PropertyChangeEvent = changeEvents[i];
                 oldItems.push(propertyEvent.oldValue);
                 newItems.push(propertyEvent.newValue);
             }
@@ -1829,7 +1829,7 @@ public class ListCollectionView extends Proxy
                 new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
             event.kind = CollectionEventKind.REPLACE;
             event.location = location;
-            event.items = items;
+            event.items = changeEvents;
             dispatchEvent(event);
         }
     }


Mime
View raw message