flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [20/50] git commit: [flex-asjs] [refs/heads/develop] - Forgot to reapply this
Date Mon, 03 Jul 2017 13:35:14 GMT
Forgot to reapply this


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

Branch: refs/heads/develop
Commit: e2e079e389c54ac1cf441603d393a66d77252a5b
Parents: 99bf3f1
Author: Harbs <harbs@in-tools.com>
Authored: Thu Jun 22 12:37:36 2017 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Thu Jun 22 12:37:36 2017 +0300

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/collections/FlattenedList.as    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e2e079e3/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
index f26fd8b..4f4de3a 100644
--- a/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
+++ b/frameworks/projects/Collections/src/main/flex/org/apache/flex/collections/FlattenedList.as
@@ -190,7 +190,8 @@ package org.apache.flex.collections
 			
 			if (hdata.hasChildren(node)) {
 				var children:Array = hdata.getChildren(node) as Array;
-				for (var i:int=0; i < children.length; i++) {
+				var len:int = children.length;
+				for (var i:int=0; i < len; i++) {
 					var newDepth:int = godeep(seeking, children[i], depth+1)
 					if (newDepth > 0) return newDepth;
 				}


Mime
View raw message