Remove unnecessary cast.

This commit is contained in:
Karsten Loesing 2019-11-20 16:39:33 +01:00
parent b3b1236641
commit a1209fa5ea

View File

@ -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());