This is an automated email from the ASF dual-hosted git repository.

piotrz pushed a commit to branch feature/formitemview_cleanup
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/formitemview_cleanup 
by this push:
     new de6f0ac  Temporary workaround
     new ba1fb19  Merge branch 'develop' into feature/formitemview_cleanup
de6f0ac is described below

commit de6f0acd8d9e875d23f8fae674fb305f675a0f53
Author: Harbs <[email protected]>
AuthorDate: Tue Jan 29 14:29:49 2019 +0200

    Temporary workaround
---
 .../Language/src/main/royale/org/apache/royale/utils/Language.as      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
 
b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
index 2591313..9887ff7 100644
--- 
a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
+++ 
b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
@@ -112,7 +112,9 @@ package org.apache.royale.utils
                 */
                static public function string(value:*):String
                {
-                       return value == null ? null : value.toString() as 
String;
+                       if(value == null)
+                               return null;
+                       return value.toString() as String;
                }
 
                /**

Reply via email to