summaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main
diff options
context:
space:
mode:
authoresobmar <mariusz.sobucki@est.tech>2019-03-14 13:30:20 +0000
committeresobmar <mariusz.sobucki@est.tech>2019-03-14 13:30:20 +0000
commit1c1407766012b6aa5c376fb6dd8912611b626e1b (patch)
tree493c6b9758b05184167def12056d9fedd0502db6 /datarouter-prov/src/main
parent4f1d5968c50f43d7443d4ad7fcfb49d019fd5cde (diff)
Remove unused throws ServletException clause
Change-Id: I78ed96c0958aa18fad9efedd7b6c326b43482354 Issue-ID: DMAAP-1086 Signed-off-by: esobmar <mariusz.sobucki@est.tech>
Diffstat (limited to 'datarouter-prov/src/main')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
index 96e523df..42d2b113 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java
@@ -26,6 +26,7 @@ package org.onap.dmaap.datarouter.provisioning;
import com.att.eelf.configuration.EELFLogger;
import com.att.eelf.configuration.EELFManager;
+
import java.io.IOException;
import java.util.*;
import javax.servlet.ServletConfig;
@@ -42,7 +43,6 @@ import org.onap.dmaap.datarouter.provisioning.beans.EventLogRecord;
import org.onap.dmaap.datarouter.provisioning.beans.IngressRoute;
import org.onap.dmaap.datarouter.provisioning.eelf.EelfMsgs;
import org.onap.dmaap.datarouter.provisioning.utils.DB;
-import org.slf4j.MDC;
/**
* This servlet handles redirects for the &lt;publishURL&gt; on the provisioning server, which is generated by the
@@ -74,7 +74,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doDelete(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doDelete");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -86,7 +86,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doGet(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doGet");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -98,7 +98,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doPut(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doPut");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -110,7 +110,7 @@ public class PublishServlet extends BaseServlet {
}
@Override
- public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ public void doPost(HttpServletRequest req, HttpServletResponse resp) {
setUpEelfForPublishServlet(req, "doPost");
eelflogger.info(EelfMsgs.ENTRY);
try {
@@ -130,7 +130,7 @@ public class PublishServlet extends BaseServlet {
}
}
- private void redirect(HttpServletRequest req, HttpServletResponse resp) throws ServletException {
+ private void redirect(HttpServletRequest req, HttpServletResponse resp) {
try {
String[] nodes = getNodes();
if (nodes == null || nodes.length == 0) {
@@ -170,7 +170,6 @@ public class PublishServlet extends BaseServlet {
}
} catch (IOException ioe) {
intlogger.error("IOException" + ioe.getMessage());
-
}
}