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 <[email protected]> Authored: Sun Dec 11 12:14:18 2016 +0200 Committer: yishayw <[email protected]> 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); }
