DMAAP-DR - Sonar Vulnerability

Signed-off-by: david.mcweeney <david.mcweeney@est.tech>
Change-Id: I908ddd78920bd3ac67e7b95f24c3e165a392fbdb
Issue-ID: DMAAP-1623
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 8a82c5c..307d2d8 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 @@
             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)) {