aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-prov/src/main/java
diff options
context:
space:
mode:
authoresobmar <mariusz.sobucki@ericsson.com>2018-09-26 11:58:31 +0100
committeresobmar <mariusz.sobucki@ericsson.com>2018-09-26 13:18:40 +0100
commit9f890296feed36d09c05eea3f0064a1b8b54f260 (patch)
treed2f01cea1d4a19b802ccac4ab5e684720b88f614 /datarouter-prov/src/main/java
parenta84001c07c0ca3d8c08a3f5b3f500c03be4d6f8b (diff)
Fix DailyLatencyReport Vulnerabilities
Change-Id: I2edbb6b3d9d0375bed9e9af74a4678b7bc53c53c Signed-off-by: Mariusz Sobucki <mariusz.sobucki@ericsson.com> Issue-ID: DMAAP-775
Diffstat (limited to 'datarouter-prov/src/main/java')
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java
index f1e0f7cc..2f08b176 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/reports/DailyLatencyReport.java
@@ -70,11 +70,9 @@ public class DailyLatencyReport extends ReportBase {
" where EVENT_TIME >= ? and EVENT_TIME <= ?";
private class Job {
-
- public long pubtime = 0;
- public long clen = 0;
- public List<Long> deltime = new ArrayList<Long>();
-
+ private long pubtime = 0;
+ private long clen = 0;
+ private List<Long> deltime = new ArrayList<>();
public long minLatency() {
long n = deltime.isEmpty() ? 0 : Long.MAX_VALUE;
for (Long l : deltime) {