Skip to content

Commit

Permalink
Removed unused array
Browse files Browse the repository at this point in the history
  • Loading branch information
dk2k committed Aug 22, 2024
1 parent abb1041 commit 71a00f5
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 71a00f5

Please sign in to comment.