You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/03/25 16:29:29 UTC

flex-blazeds git commit: Fixed a potenatially NPE producing piece of code

Repository: flex-blazeds
Updated Branches:
  refs/heads/develop 766c15770 -> 1a1dba1dd


Fixed a potenatially NPE producing piece of code


Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/1a1dba1d
Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/1a1dba1d
Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/1a1dba1d

Branch: refs/heads/develop
Commit: 1a1dba1dd7848ceb7bfec1f11c6ee93166d9362d
Parents: 766c157
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Mar 25 16:29:22 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Mar 25 16:29:22 2016 +0100

----------------------------------------------------------------------
 common/src/flex/messaging/log/Log.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/1a1dba1d/common/src/flex/messaging/log/Log.java
----------------------------------------------------------------------
diff --git a/common/src/flex/messaging/log/Log.java b/common/src/flex/messaging/log/Log.java
index b19111d..570911a 100644
--- a/common/src/flex/messaging/log/Log.java
+++ b/common/src/flex/messaging/log/Log.java
@@ -44,7 +44,7 @@ public class Log
 
     private static Log log;
     private static PrettyPrinter prettyPrinter;
-    private static String prettyPrinterClass = "BasicPrettyPrinter";
+    private static String prettyPrinterClass = "flex.messaging.util.BasicPrettyPrinter";
 
     private static final HashSet excludedProperties = new HashSet();
     public static final String VALUE_SUPRESSED = "** [Value Suppressed] **";
@@ -519,6 +519,7 @@ public class Log
             }
             catch (Throwable t)
             {
+                throw new RuntimeException("Error creating instance of default pretty printer.", t);
             }
         }
         return (PrettyPrinter)prettyPrinter.copy();