changeset 1047:701a034a0fe0

minor
author Devel 2
date Tue, 14 Apr 2020 15:30:38 +0200
parents 0aaa00594dc5
children 0b0971546a00
files stress-tester/src/main/java/com/passus/st/client/dns/DnsMetric.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/client/dns/DnsMetric.java	Tue Apr 14 15:30:20 2020 +0200
+++ b/stress-tester/src/main/java/com/passus/st/client/dns/DnsMetric.java	Tue Apr 14 15:30:38 2020 +0200
@@ -60,10 +60,10 @@
 
     @Override
     public void update(Metric metric) {
-        DnsMetric clientMetric = (DnsMetric) metric;
-        Metric.updateCountMap(sentRecordsCount, clientMetric.sentRecordsCount);
-        Metric.updateCountMap(receivedRecordsCount, clientMetric.receivedRecordsCount);
-        Metric.updateCountMap(replayCodes, clientMetric.replayCodes);
+        DnsMetric dnsMetric = (DnsMetric) metric;
+        Metric.updateCountMap(sentRecordsCount, dnsMetric.sentRecordsCount);
+        Metric.updateCountMap(receivedRecordsCount, dnsMetric.receivedRecordsCount);
+        Metric.updateCountMap(replayCodes, dnsMetric.replayCodes);
     }
 
     @Override