Skip to content

Commit

Permalink
Removed unused array (#15364)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kryukov <[email protected]>
  • Loading branch information
dk2k authored Nov 26, 2024
1 parent 3da97f2 commit 5817710
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,6 @@ protected final InternalAggregations[] buildSubAggsForBuckets(long[] bucketOrdsT
}
InternalAggregations[] result = new InternalAggregations[bucketOrdsToCollect.length];
for (int ord = 0; ord < bucketOrdsToCollect.length; ord++) {
InternalAggregation[] slice = new InternalAggregation[subAggregators.length];
for (int i = 0; i < subAggregators.length; i++) {
slice[i] = aggregations[i][ord];
}
final int thisOrd = ord;
result[ord] = InternalAggregations.from(new AbstractList<InternalAggregation>() {
@Override
Expand Down

0 comments on commit 5817710

Please sign in to comment.