You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/01/29 11:24:27 UTC
[royale-asjs] branch feature/formitemview_cleanup updated: Fixed
recursive call to Language.string
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 49e805e Fixed recursive call to Language.string
new 9b2064e Merge branch 'develop' into feature/formitemview_cleanup
49e805e is described below
commit 49e805e9e5080efa28ba315c145b15c4d2b04ba6
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Jan 29 13:09:52 2019 +0200
Fixed recursive call to Language.string
---
.../Language/src/main/royale/org/apache/royale/utils/Language.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 c13ec8d..2591313 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
@@ -106,13 +106,13 @@ package org.apache.royale.utils
/**
* string()
- *
+ * @royaleignorecoercion String
* @param value The value to be cast.
* @return {string}
*/
static public function string(value:*):String
{
- return value == null ? null : value.toString();
+ return value == null ? null : value.toString() as String;
}
/**