Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5D0B6102CC for ; Fri, 3 Jan 2014 02:51:01 +0000 (UTC) Received: (qmail 21621 invoked by uid 500); 3 Jan 2014 02:51:00 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 21510 invoked by uid 500); 3 Jan 2014 02:51:00 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 21451 invoked by uid 99); 3 Jan 2014 02:51:00 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 02:51:00 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 81C409151AC; Fri, 3 Jan 2014 02:51:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jmclean@apache.org To: commits@flex.apache.org Date: Fri, 03 Jan 2014 02:51:02 -0000 Message-Id: <149087947d3643de9bdd807b22bd346e@git.apache.org> In-Reply-To: <3fb48bd1bf1047598493b4b6b0e7a8a2@git.apache.org> References: <3fb48bd1bf1047598493b4b6b0e7a8a2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [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 Authored: Fri Jan 3 13:42:16 2014 +1100 Committer: Justin Mclean 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; } } }