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/01/03 03:51:02 UTC
[3/5] git commit: [flex-sdk] [refs/heads/develop] - make catch block
empty to improve performance
make catch block empty to improve performance
Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/5cc6c25a
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/5cc6c25a
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/5cc6c25a
Branch: refs/heads/develop
Commit: 5cc6c25a43669da180631e11fc88e0137d0ba215
Parents: d626e1c
Author: Justin Mclean <jm...@apache.org>
Authored: Fri Jan 3 13:42:16 2014 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Fri Jan 3 13:42:16 2014 +1100
----------------------------------------------------------------------
frameworks/projects/mx/src/mx/controls/List.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/5cc6c25a/frameworks/projects/mx/src/mx/controls/List.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/mx/src/mx/controls/List.as b/frameworks/projects/mx/src/mx/controls/List.as
index cd5fcf3..46302e7 100644
--- a/frameworks/projects/mx/src/mx/controls/List.as
+++ b/frameworks/projects/mx/src/mx/controls/List.as
@@ -1844,14 +1844,14 @@ public class List extends ListBase implements IIMESupport
if (more)
{
+ // if we run out of data, assume all remaining rows are the size of the previous row
+ more = false;
try
{
more = iterator.moveNext();
}
catch(e:ItemPendingError)
{
- // if we run out of data, assume all remaining rows are the size of the previous row
- more = false;
}
}
}