commit | 17d92be56eca65f78c90e267ecd22bae1f282633 | [log] [tgz] |
---|---|---|
author | david.mcweeney <david.mcweeney@est.tech> | Tue Aug 10 14:08:21 2021 +0100 |
committer | david.mcweeney <david.mcweeney@est.tech> | Tue Aug 10 14:08:33 2021 +0100 |
tree | 6e32a37c9a5f94735a323ad3be7f796c0eb588de | |
parent | 8df9c4d2a1ac8fcbf76a38a4bb8a2e42b590ae18 [diff] |
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)) {