flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/2] git commit: [flex-utilities] [refs/heads/develop] - make sure null is not added to log
Date Tue, 24 Jun 2014 06:39:45 GMT
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 <aharui@apache.org>
Authored: Fri Jun 20 12:50:02 2014 -0700
Committer: Alex Harui <aharui@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)


Mime
View raw message