You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2007/10/12 08:30:35 UTC

svn commit: r584065 - /webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp

Author: nadiramra
Date: Thu Oct 11 23:30:34 2007
New Revision: 584065

URL: http://svn.apache.org/viewvc?rev=584065&view=rev
Log:
Ensure system propery is not null before attempting to format.

Modified:
    webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp

Modified: webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp?rev=584065&r1=584064&r2=584065&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp (original)
+++ webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp Thu Oct 11 23:30:34 2007
@@ -372,7 +372,9 @@
         }
     }
     
-    public String getFormatedSystemProperty(String systemProperty){
+    public String getFormatedSystemProperty(String systemProperty){
+        if (systemProperty == null)
+            return "";
     	return  systemProperty.replaceAll(":", ": ");
     }
 %>



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