axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r584065 - /webservices/axis2/trunk/java/modules/webapp/src/main/webapp/axis2-web/HappyAxis.jsp
Date Fri, 12 Oct 2007 06:30:35 GMT
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


Mime
View raw message