Author: veithen
Date: Sat Jun 4 08:36:34 2016
New Revision: 1746784
URL: http://svn.apache.org/viewvc?rev=1746784&view=rev
Log:
Remove effectively unreachable code.
Modified:
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/ListingAgent.java
Modified:
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/ListingAgent.java
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/ListingAgent.java?rev=1746784&r1=1746783&r2=1746784&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/ListingAgent.java
(original)
+++
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/ListingAgent.java
Sat Jun 4 08:36:34 2016
@@ -58,8 +58,6 @@ public class ListingAgent extends Abstra
private static final String LIST_MULTIPLE_SERVICE_JSP_NAME =
"listServices.jsp";
- private static final String LIST_SINGLE_SERVICE_JSP_NAME =
- "listSingleService.jsp";
private static final String LIST_FAULTY_SERVICES_JSP_NAME =
"listFaultyService.jsp";
public ListingAgent(ConfigurationContext aConfigContext) {
@@ -192,16 +190,10 @@ public class ListingAgent extends Abstra
} else if (policy >= 0) {
handlePolicyRequest(req, res, serviceName, axisService);
return;
- } else {
- req.getSession().setAttribute(Constants.SINGLE_SERVICE,
axisService);
}
- } else {
- req.getSession().setAttribute(Constants.SINGLE_SERVICE, null);
- res.sendError(HttpServletResponse.SC_NOT_FOUND, url);
}
}
-
- renderView(LIST_SINGLE_SERVICE_JSP_NAME, req, res);
+ res.sendError(HttpServletResponse.SC_NOT_FOUND, url);
}
private void handlePolicyRequest(HttpServletRequest req,