Skip to content

Commit b697e8a

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent b682250 commit b697e8a

File tree

1 file changed

+1
-4
lines changed
  • x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/topn

1 file changed

+1
-4
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/operator/topn/TopNOperator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,7 @@ public long ramBytesUsed() {
601601
size += partitions.size() * Partition.SHALLOW_SIZE;
602602
size += RamUsageEstimator.alignObjectSize(arrHeader + ref * sortOrders.size());
603603
size += sortOrders.size() * SortOrder.SHALLOW_SIZE;
604-
long ramBytesUsedSum = inputQueues.entrySet()
605-
.stream()
606-
.mapToLong(e -> e.getKey().bytes.length + e.getValue().ramBytesUsed())
607-
.sum();
604+
long ramBytesUsedSum = inputQueues.entrySet().stream().mapToLong(e -> e.getKey().bytes.length + e.getValue().ramBytesUsed()).sum();
608605
size += ramBytesUsedSum;
609606
return size;
610607
}

0 commit comments

Comments
 (0)