mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +02:00
Remove unnecessary boxing/unboxing in double/long conversion
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=173411150
This commit is contained in:
parent
ab04bce23d
commit
113c5af2a5
1 changed files with 2 additions and 3 deletions
|
@ -161,11 +161,10 @@ public class AsyncFlowMetrics {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void recordContactHostDeletionBatchSize(long batchSize) {
|
public void recordContactHostDeletionBatchSize(long batchSize) {
|
||||||
asyncFlowBatchSize.record(
|
asyncFlowBatchSize.record(batchSize, CONTACT_AND_HOST_DELETE.getMetricLabelValue());
|
||||||
Double.valueOf(batchSize), CONTACT_AND_HOST_DELETE.getMetricLabelValue());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void recordDnsRefreshBatchSize(long batchSize) {
|
public void recordDnsRefreshBatchSize(long batchSize) {
|
||||||
asyncFlowBatchSize.record(Double.valueOf(batchSize), DNS_REFRESH.getMetricLabelValue());
|
asyncFlowBatchSize.record(batchSize, DNS_REFRESH.getMetricLabelValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue