mirror of
https://github.com/torproject/metrics-lib.git
synced 2024-11-26 18:50:28 +00:00
Remove unnecessary cast.
This commit is contained in:
parent
b3b1236641
commit
a1209fa5ea
@ -98,7 +98,7 @@ public class MeasurePerformance {
|
||||
continue;
|
||||
}
|
||||
ServerDescriptor serverDescriptor = (ServerDescriptor) descriptor;
|
||||
sumAdvertisedBandwidth += (long) Math.min(Math.min(
|
||||
sumAdvertisedBandwidth += Math.min(Math.min(
|
||||
serverDescriptor.getBandwidthRate(),
|
||||
serverDescriptor.getBandwidthBurst()),
|
||||
serverDescriptor.getBandwidthObserved());
|
||||
|
Loading…
Reference in New Issue
Block a user