aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src
diff options
context:
space:
mode:
authordavid.mcweeney <david.mcweeney@est.tech>2021-08-10 14:08:21 +0100
committerdavid.mcweeney <david.mcweeney@est.tech>2021-08-10 14:08:33 +0100
commit17d92be56eca65f78c90e267ecd22bae1f282633 (patch)
tree6e32a37c9a5f94735a323ad3be7f796c0eb588de /datarouter-prov/src
parent8df9c4d2a1ac8fcbf76a38a4bb8a2e42b590ae18 (diff)
DMAAP-DR - Sonar Vulnerability
Signed-off-by: david.mcweeney <david.mcweeney@est.tech> Change-Id: I908ddd78920bd3ac67e7b95f24c3e165a392fbdb Issue-ID: DMAAP-1623
Diffstat (limited to 'datarouter-prov/src')
-rwxr-xr-xdatarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/StatisticsServlet.java2
1 files changed, 1 insertions, 1 deletions
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)) {