axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r556697 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
Date Mon, 16 Jul 2007 18:59:55 GMT
Author: dims
Date: Mon Jul 16 11:59:54 2007
New Revision: 556697

URL: http://svn.apache.org/viewvc?view=rev&rev=556697
Log:
cover the case where the property is not set

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java?view=diff&rev=556697&r1=556696&r2=556697
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
Mon Jul 16 11:59:54 2007
@@ -47,7 +47,7 @@
         // If the user has set "axis2.jalopy=false" on the system property,
         // then just return back to caller
         String property = System.getProperty("axis2.jalopy");
-        if(JavaUtils.isFalseExplicitly(property)){
+        if(property != null && JavaUtils.isFalseExplicitly(property)){
             return;
         }
         PrintStream backupOutputStream = System.out;



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message