axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r499337 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2: engine/AxisConfiguration.java transport/http/AdminAgent.java
Date Wed, 24 Jan 2007 10:17:36 GMT
Author: deepal
Date: Wed Jan 24 02:17:34 2007
New Revision: 499337

URL: http://svn.apache.org/viewvc?view=rev&rev=499337
Log:
fixing AXIS2-1843

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?view=diff&rev=499337&r1=499336&r2=499337
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Wed Jan 24 02:17:34 2007
@@ -736,11 +736,11 @@
         return this.systemClassLoader;
     }
 
-    public TransportInDescription getTransportIn(QName name) throws AxisFault {
+    public TransportInDescription getTransportIn(QName name) {
         return (TransportInDescription) transportsIn.get(name);
     }
 
-    public TransportOutDescription getTransportOut(QName name) throws AxisFault {
+    public TransportOutDescription getTransportOut(QName name) {
         return (TransportOutDescription) transportsOut.get(name);
     }
 

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java?view=diff&rev=499337&r1=499336&r2=499337
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Wed Jan 24 02:17:34 2007
@@ -125,7 +125,8 @@
     			: "disabled");
     	req.setAttribute("hotUpdate", (hasHotUpdate.equals("true")) ? "enabled" : "disabled");
     	boolean isMultipart = FileUpload.isMultipartContent(req);
-    	if (isMultipart) {
+        
+        if (isMultipart) {
 
     		try {
     			// Create a new file upload handler
@@ -147,7 +148,7 @@
     						req.setAttribute("cause", "Unsupported file type " + fileExtesion);
     					} else {
 
-    						String fileNameOnly = "";
+    						String fileNameOnly ;
     						if (fileName.indexOf("\\") < 0) {
     							fileNameOnly =
     								fileName.substring(fileName.lastIndexOf("/") + 1, fileName
@@ -247,15 +248,6 @@
     	}
     	renderView(SERVICE_PARA_EDIT_JSP_NAME, req, res);
     }
-
-    private String getBasicHTML(String s) {
-        return "<html>\n" +
-                "<body>\n" +
-                s +
-                "</body>\n" +
-                "</html>";
-    }
-
 
     protected void processEngagingGlobally(HttpServletRequest req, HttpServletResponse res)
throws IOException, ServletException {
         HashMap modules = configContext.getAxisConfiguration().getModules();



---------------------------------------------------------------------
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