You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/07/16 20:59:55 UTC
svn commit: r556697 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/util/PrettyPrinter.java
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