mirror of
https://github.com/torproject/metrics-web.git
synced 2024-11-26 19:20:32 +00:00
Inline redundant local variables.
This commit is contained in:
parent
21277083a8
commit
e04eec7cb7
@ -241,9 +241,7 @@ public class Parser {
|
||||
private long removeNoise(long reportedNumber, long binSize) {
|
||||
long roundedToNearestRightSideOfTheBin =
|
||||
Math.floorDiv((reportedNumber + binSize / 2), binSize) * binSize;
|
||||
long subtractedHalfOfBinSize =
|
||||
roundedToNearestRightSideOfTheBin - binSize / 2;
|
||||
return subtractedHalfOfBinSize;
|
||||
return roundedToNearestRightSideOfTheBin - binSize / 2;
|
||||
}
|
||||
|
||||
/** Parses the given consensus. */
|
||||
|
Loading…
Reference in New Issue
Block a user