You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/06/24 08:39:45 UTC

[2/2] git commit: [flex-utilities] [refs/heads/develop] - make sure null is not added to log

make sure null is not added to log


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/93b6b14d
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/93b6b14d
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/93b6b14d

Branch: refs/heads/develop
Commit: 93b6b14d91154f30703d7f2ba042e5fa6aa94b90
Parents: 3c89790
Author: Alex Harui <ah...@apache.org>
Authored: Fri Jun 20 12:50:02 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jun 23 23:39:38 2014 -0700

----------------------------------------------------------------------
 installer/src/InstallApacheFlex.mxml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/93b6b14d/installer/src/InstallApacheFlex.mxml
----------------------------------------------------------------------
diff --git a/installer/src/InstallApacheFlex.mxml b/installer/src/InstallApacheFlex.mxml
index 1590872..0ad4767 100644
--- a/installer/src/InstallApacheFlex.mxml
+++ b/installer/src/InstallApacheFlex.mxml
@@ -2682,7 +2682,9 @@ variables are not required because the locations of these pieces are known.
 		}
 		
 		private function log(text:String, position:int = -1, isPublic:Boolean = true, skipLog:Boolean = false):void {
-			if (position == -1) {
+            if (text == null)
+                text = "";
+            if (position == -1) {
                 if (!skipLog)
     				_messages.addItem(text);
                 if (isPublic)