pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/apache/axis-axis2-java-core/commit/e33b9b12bbc6207de9e2bb505576e15427df172e

link crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-52276e82f63bb403.css" /> Remove dead code left over from r525469. · apache/axis-axis2-java-core@e33b9b1 · GitHub
Skip to content

Commit e33b9b1

Browse files
committed
Remove dead code left over from r525469.
1 parent cb75113 commit e33b9b1

File tree

3 files changed

+0
-63
lines changed

3 files changed

+0
-63
lines changed

modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
org.apache.axis2.description.AxisModule" %>
2424
<%@ page import="org.apache.axis2.description.AxisOperation" %>
2525
<%@ page import="org.apache.axis2.description.AxisService" %>
26-
<%@ page import="org.apache.axis2.description.Parameter" %>
27-
<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
28-
<%@ page import="org.apache.axis2.util.JavaUtils" %>
2926
<%@ page import="java.util.Collection" %>
3027
<%@ page import="java.util.Enumeration" %>
3128
<%@ page import="java.util.HashMap" %>
@@ -52,26 +49,6 @@
5249
serviceName = axisService.getName();
5350
%><h2><a style="color:blue" href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></h2>
5451
<%
55-
// do we need to enable REST in the main servlet so that it handles both REST and SOAP messages
56-
boolean disableREST = false;
57-
AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
58-
59-
Parameter parameter ;
60-
61-
// do we need to completely disable REST support
62-
parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
63-
if (parameter != null) {
64-
disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
65-
}
66-
if (!disableREST) {
67-
%>
68-
69-
<%
70-
%>
71-
<%
72-
}
73-
74-
7552
String serviceDescription = axisService.getDocumentation();
7653
if (serviceDescription == null || "".equals(serviceDescription)) {
7754
serviceDescription = "No description available for this service";

modules/webapp/src/main/webapp/WEB-INF/views/admin/listSingleService.jsp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
<%@ page import="org.apache.axis2.Constants,
2121
org.apache.axis2.description.AxisOperation" %>
2222
<%@ page import="org.apache.axis2.description.AxisService" %>
23-
<%@ page import="org.apache.axis2.description.Parameter" %>
24-
<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
25-
<%@ page import="org.apache.axis2.util.JavaUtils" %>
2623
<%@ page import="java.util.Hashtable" %>
2724
<%@ page import="java.util.Iterator" %>
2825
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
@@ -56,22 +53,6 @@
5653
<span style="color:black"><%=prefix + axisService.getName()%></span>
5754
</p>
5855
<%
59-
boolean disableREST = false;
60-
AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
61-
62-
Parameter parameter;
63-
64-
// do we need to completely disable REST support
65-
parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
66-
if (parameter != null) {
67-
disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
68-
}
69-
if (!disableREST ) {
70-
%>
71-
<%
72-
}
73-
74-
7556
String serviceDescription = axisService.getDocumentation();
7657
if (serviceDescription == null || "".equals(serviceDescription)) {
7758
serviceDescription = "No description available for this service";

modules/webapp/src/main/webapp/WEB-INF/views/listServices.jsp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
<%@ page import="org.apache.axis2.Constants,
2222
org.apache.axis2.description.AxisOperation" %>
2323
<%@ page import="org.apache.axis2.description.AxisService" %>
24-
<%@ page import="org.apache.axis2.description.Parameter" %>
25-
<%@ page import="org.apache.axis2.engine.AxisConfiguration" %>
2624
<%@ page import="org.apache.axis2.util.Utils" %>
27-
<%@ page import="org.apache.axis2.util.JavaUtils" %>
2825
<%@ page import="java.util.Collection" %>
2926
<%@ page import="java.util.Enumeration" %>
3027
<%@ page import="java.util.HashMap" %>
@@ -63,24 +60,6 @@
6360
serviceName = axisService.getName();
6461
%><h2><a style="color:blue" href="<%=prefix + axisService.getName()%>?wsdl"><%=serviceName%></a></h2>
6562
<%
66-
boolean disableREST = false;
67-
AxisConfiguration axisConfiguration = axisService.getAxisConfiguration();
68-
69-
Parameter parameter ;
70-
71-
// do we need to completely disable REST support
72-
parameter = axisConfiguration.getParameter(Constants.Configuration.DISABLE_REST);
73-
if (parameter != null) {
74-
disableREST = !JavaUtils.isFalseExplicitly(parameter.getValue());
75-
}
76-
77-
if (!disableREST ) {
78-
79-
%>
80-
<%
81-
}
82-
83-
8463
String serviceDescription = axisService.getDocumentation();
8564
if (serviceDescription == null || "".equals(serviceDescription)) {
8665
serviceDescription = "No description available for this service";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy