flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkess...@apache.org
Subject git commit: [flex-sdk] - FLEX-33526: Changed null test of dataProvider to be more consistent
Date Sun, 28 Apr 2013 13:36:57 GMT
Updated Branches:
  refs/heads/develop 376417244 -> a0548274c


FLEX-33526: Changed null test of dataProvider to be more consistent


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

Branch: refs/heads/develop
Commit: a0548274c4ce2278d28767528cafc1701eb3d09e
Parents: 3764172
Author: Mark Kessler <KesslerConsulting@gmail.com>
Authored: Sun Apr 28 09:32:13 2013 -0400
Committer: Mark Kessler <KesslerConsulting@gmail.com>
Committed: Sun Apr 28 09:35:34 2013 -0400

----------------------------------------------------------------------
 .../projects/spark/src/spark/components/Grid.as    |    2 +-
 .../spark/components/supportClasses/ListBase.as    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a0548274/frameworks/projects/spark/src/spark/components/Grid.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/Grid.as b/frameworks/projects/spark/src/spark/components/Grid.as
index b19e86f..1ce7d91 100644
--- a/frameworks/projects/spark/src/spark/components/Grid.as
+++ b/frameworks/projects/spark/src/spark/components/Grid.as
@@ -4827,7 +4827,7 @@ public class Grid extends Group implements IDataGridElement, IDataProviderEnhanc
         var loopingValuesIndex:uint = 0;
 
 
-        if (dataProvider && dataProvider.length > 0 && values != null
&& values.length > 0)
+        if (dataProvider != null && dataProvider.length > 0 && values
!= null && values.length > 0)
         {
             dataProviderTotal = dataProvider.length;
             valuesTotal = values.length;

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a0548274/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as b/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
index 120018b..903e67f 100644
--- a/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ b/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -1289,7 +1289,7 @@ public class ListBase extends SkinnableDataContainer implements IDataProviderEnh
         var loopingValuesIndex:uint = 0;
 
 
-        if (dataProvider && dataProvider.length > 0 && values != null
&& values.length > 0)
+        if (dataProvider != null && dataProvider.length > 0 && values
!= null && values.length > 0)
         {
             dataProviderTotal = dataProvider.length;
             valuesTotal = values.length;


Mime
View raw message