Skip to content

Commit ff95cf7

Browse files
committed
spotless
1 parent 0481da2 commit ff95cf7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

x-pack/plugin/downsample/src/main/java/org/elasticsearch/xpack/downsample/DownsampleShardIndexer.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,11 +462,10 @@ public void collect(int docId, long owningBucketOrd) throws IOException {
462462
}
463463
bucketsCreated++;
464464
}
465-
// buffer.add(docId);
466-
buffer.buffer[buffer.elementsCount++] = docId;
467-
if (buffer.size() == DOCID_BUFFER_SIZE) {
465+
buffer.buffer[buffer.elementsCount++] = docId;
466+
if (buffer.size() == DOCID_BUFFER_SIZE) {
468467
bulkCollection();
469-
}
468+
}
470469
}
471470

472471
void leafBulkCollection() throws IOException {

0 commit comments

Comments
 (0)