flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yish...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Wrong casting.
Date Sun, 11 Dec 2016 10:14:24 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop b68a3f9f0 -> ff02086da


Wrong casting.


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

Branch: refs/heads/develop
Commit: ff02086da179fbfcd144ca449ccb86dc1e37a243
Parents: b68a3f9
Author: yishayw <yishayjobs@hotmail.com>
Authored: Sun Dec 11 12:14:18 2016 +0200
Committer: yishayw <yishayjobs@hotmail.com>
Committed: Sun Dec 11 12:14:18 2016 +0200

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/utils/StrandUtils.as       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ff02086d/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StrandUtils.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StrandUtils.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StrandUtils.as
index cb6f134..de500f3 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StrandUtils.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StrandUtils.as
@@ -20,7 +20,6 @@
 package org.apache.flex.utils
 {
 	import org.apache.flex.core.IBead;
-	import org.apache.flex.core.IBeadModel;
 	import org.apache.flex.core.IStrand;
 	import org.apache.flex.core.ValuesManager;
 	
@@ -58,7 +57,7 @@ package org.apache.flex.utils
 				var c:Class = ValuesManager.valuesImpl.getValue(strand, classOrInterfaceName) as Class;
 				if (c)
 				{
-					result = new c as IBeadModel;
+					result = new c() as IBead;
 					if (result)
 						strand.addBead(result);
 				}


Mime
View raw message