Author: veithen
Date: Sun Sep 10 13:23:34 2017
New Revision: 1807948
URL: http://svn.apache.org/viewvc?rev=1807948&view=rev
Log:
Code cleanup.
Modified:
axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp
Modified:
axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp
URL:
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp?rev=1807948&r1=1807947&r2=1807948&view=diff
==============================================================================
---
axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp
(original)
+++
axis/axis2/java/core/trunk/modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp
Sun Sep 10 13:23:34 2017
@@ -49,17 +49,11 @@
Hashtable errornessservice = (Hashtable)
request.getAttribute(Constants.ERROR_SERVICE_MAP);
boolean status = false;
if (serviceMap != null && !serviceMap.isEmpty()) {
- Iterator opItr;
- //HashMap operations;
- String serviceName;
- Collection servicecol = serviceMap.values();
- // Collection operationsList;
- for (Iterator iterator = servicecol.iterator(); iterator.hasNext();) {
+ for (Iterator iterator = serviceMap.values().iterator();
iterator.hasNext();) {
AxisService axisService = (AxisService) iterator.next();
if (!Utils.isHiddenService(axisService)) {
- opItr = axisService.getOperations();
- //operationsList = operations.values();
- serviceName = axisService.getName();
+ Iterator opItr = axisService.getOperations();
+ String serviceName = axisService.getName();
%><h2><a style="color:blue" href="<%=prefix +
axisService.getName()%>?wsdl"><%=serviceName%></a></h2>
<%
String serviceDescription = axisService.getDocumentation();