aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/java
diff options
context:
space:
mode:
authoresobmar <mariusz.sobucki@ericsson.com>2018-09-27 16:11:42 +0100
committeresobmar <mariusz.sobucki@ericsson.com>2018-09-27 17:54:46 +0100
commit158f65097526b497de5f30f0c954e465bee0d355 (patch)
tree46490dae1bd33f38f95c5615bbb080784823616e /datarouter-prov/src/main/java
parenteb4080be2d6c5e2bf396e653f3fcd00f2747cce6 (diff)
Fix formatting
Change-Id: I1a6fbe43f59d815776cd6c115f94bb477dc8c7c0 Signed-off-by: Mariusz Sobucki <mariusz.sobucki@ericsson.com> Issue-ID: DMAAP-775
Diffstat (limited to 'datarouter-prov/src/main/java')
-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);