You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/06/01 05:58:16 UTC
[5/7] git commit: [flex-asjs] [refs/heads/develop] - consistent
easier to read
consistent easier to read
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe68c41d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe68c41d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe68c41d
Branch: refs/heads/develop
Commit: fe68c41dec3c7b22afb957024369e81243a1724d
Parents: ce22dc6
Author: Justin Mclean <jm...@apache.org>
Authored: Thu Jun 1 13:23:11 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Thu Jun 1 13:23:11 2017 +1000
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/utils/StringUtil.as | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe68c41d/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StringUtil.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StringUtil.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StringUtil.as
index f53ba62..6a8e371 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StringUtil.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/utils/StringUtil.as
@@ -84,8 +84,9 @@ package org.apache.flex.utils
*/
public static function substitute(str:String, ... rest):String
{
- if (str === null) return '';
-
+ if (str === null)
+ return '';
+
// Replace all of the parameters in the msg string.
var len:uint = rest.length;
var args:Array;