From 158f65097526b497de5f30f0c954e465bee0d355 Mon Sep 17 00:00:00 2001 From: esobmar Date: Thu, 27 Sep 2018 16:11:42 +0100 Subject: Fix formatting Change-Id: I1a6fbe43f59d815776cd6c115f94bb477dc8c7c0 Signed-off-by: Mariusz Sobucki Issue-ID: DMAAP-775 --- .../org/onap/dmaap/datarouter/provisioning/PublishServlet.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'datarouter-prov/src/main/java/org') 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 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); -- cgit 1.2.3-korg