You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/03/26 19:44:24 UTC
[royale-asjs] branch feature/layout-optimization updated: Remove
extra casting
This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch feature/layout-optimization
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/layout-optimization by this push:
new eb6c1e2 Remove extra casting
eb6c1e2 is described below
commit eb6c1e2ab9bb39803705d97af9b908843a8b9793
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Mar 26 22:44:18 2018 +0300
Remove extra casting
---
.../src/main/royale/org/apache/royale/core/StyleChangeNotifier.as | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyleChangeNotifier.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyleChangeNotifier.as
index 8dee814..c55fb13 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyleChangeNotifier.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/StyleChangeNotifier.as
@@ -45,15 +45,15 @@ package org.apache.royale.core
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
- * @productversion Royale 0.0
+ * @productversion Royale 0.9
*/
public function set strand(value:IStrand):void
{
_strand = value;
- var style:Object = IStyleableObject(value).style as IEventDispatcher;
+ var style:IEventDispatcher = IStyleableObject(value).style as IEventDispatcher;
if (style) {
- IEventDispatcher(style).addEventListener(ValueChangeEvent.VALUE_CHANGE, handleStyleChange);
+ style.addEventListener(ValueChangeEvent.VALUE_CHANGE, handleStyleChange);
}
}
--
To stop receiving notification emails like this one, please contact
harbs@apache.org.