Skip to content

Commit a5773e9

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 819e31c commit a5773e9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

benchmarks/src/main/java/org/elasticsearch/benchmark/exponentialhistogram/ExponentialHistogramMergeBench.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ public void setUp() {
6060
ExponentialHistogramCircuitBreaker breaker = ExponentialHistogramCircuitBreaker.noop();
6161
histoMerger = ExponentialHistogramMerger.create(bucketCount, breaker);
6262

63-
6463
ExponentialHistogramGenerator initialGenerator = ExponentialHistogramGenerator.create(bucketCount, breaker);
6564
for (int j = 0; j < bucketCount; j++) {
6665
initialGenerator.add(Math.pow(1.001, j));

libs/exponential-histogram/src/main/java/org/elasticsearch/exponentialhistogram/ExponentialHistogramMerger.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ public void add(ExponentialHistogram toAdd) {
146146
ZeroBucket zeroBucket = a.zeroBucket().merge(b.zeroBucket());
147147
zeroBucket = zeroBucket.collapseOverlappingBucketsForAll(posBucketsA, negBucketsA, posBucketsB, negBucketsB);
148148

149-
150149
if (buffer == null) {
151150
buffer = FixedCapacityExponentialHistogram.create(bucketLimit, circuitBreaker);
152151
}

0 commit comments

Comments
 (0)