From 17d92be56eca65f78c90e267ecd22bae1f282633 Mon Sep 17 00:00:00 2001 From: "david.mcweeney" Date: Tue, 10 Aug 2021 14:08:21 +0100 Subject: DMAAP-DR - Sonar Vulnerability Signed-off-by: david.mcweeney Change-Id: I908ddd78920bd3ac67e7b95f24c3e165a392fbdb Issue-ID: DMAAP-1623 --- .../java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'datarouter-prov/src') diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java index 8a82c5cf..307d2d8a 100755 --- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java +++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java @@ -156,7 +156,7 @@ public class StatisticsServlet extends BaseServlet { map.put(EVENT_TYPE, req.getParameter("type").replace("|", ",")); } if (req.getParameter(OUTPUT_TYPE) != null && req.getParameter(OUTPUT_TYPE).equals(CSV_OUTPUT_TYPE)) { - map.put(OUTPUT_TYPE, req.getParameter(CSV_OUTPUT_TYPE)); + map.put(OUTPUT_TYPE, CSV_OUTPUT_TYPE); outputType = CSV_OUTPUT_TYPE; } if (req.getParameter(OUTPUT_TYPE) != null && req.getParameter(OUTPUT_TYPE).equals(JSON_OUTPUT_TYPE)) { -- cgit 1.2.3-korg