summaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/java/org
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-10-02 14:07:31 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-02 14:07:31 +0000
commit3a2e2a602b9aa3677d941f3d5d65ea0dce80b7ab (patch)
tree9db02aecf738697ab0c62b0f14510fbc31772283 /datarouter-prov/src/main/java/org
parentf499514699009bca5f7649725024a50a85204a04 (diff)
parent158f65097526b497de5f30f0c954e465bee0d355 (diff)
Merge "Fix formatting"1.0.2
Diffstat (limited to 'datarouter-prov/src/main/java/org')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/PublishServlet.java8
1 files changed, 4 insertions, 4 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 07285950..8229ee5a 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
@@ -59,7 +59,7 @@ public class PublishServlet extends BaseServlet {
private List<IngressRoute> irt;
//Adding EELF Logger Rally:US664892
private static EELFLogger eelflogger = EELFManager.getInstance()
- .getLogger("org.onap.dmaap.datarouter.provisioning.PublishServlet");
+ .getLogger("org.onap.dmaap.datarouter.provisioning.PublishServlet");
private static final Object lock = new Object();
@@ -106,14 +106,14 @@ public class PublishServlet extends BaseServlet {
String[] nodes = getNodes();
if (nodes == null || nodes.length == 0) {
resp.sendError(HttpServletResponse.SC_SERVICE_UNAVAILABLE,
- "There are no nodes defined in the DR network.");
+ "There are no nodes defined in the DR network.");
} else {
EventLogRecord elr = new EventLogRecord(req);
int feedid = checkPath(req);
if (feedid < 0) {
String message = (feedid == -1)
- ? "Invalid request - Missing or bad feed number."
- : "Invalid request - Missing file ID.";
+ ? "Invalid request - Missing or bad feed number."
+ : "Invalid request - Missing file ID.";
elr.setMessage(message);
elr.setResult(HttpServletResponse.SC_NOT_FOUND);
eventlogger.info(elr);