Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Peng Huo <penghuo@gmail.com>
  • Loading branch information
penghuo committed Jan 28, 2022
1 parent 67432ff commit c078aec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ public InternalAggregation[] buildAggregations(long[] owningBucketOrds) throws I
reverseMuls,
missingOrders,
docCount,
aggs);
aggs
);
}
CompositeKey lastBucket = num > 0 ? buckets[num - 1].getRawKey() : null;
return new InternalAggregation[] {
Expand Down Expand Up @@ -229,7 +230,8 @@ public InternalAggregation buildEmptyAggregation() {
reverseMuls,
missingOrders,
false,
metadata());
metadata()
);
}

private void finishLeaf() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ public InternalComposite create(List<InternalBucket> newBuckets) {
reverseMuls,
missingOrders,
earlyTerminated,
getMetadata());
getMetadata()
);
}

@Override
Expand Down Expand Up @@ -270,7 +271,8 @@ public InternalAggregation reduce(List<InternalAggregation> aggregations, Reduce
reverseMuls,
missingOrders,
earlyTerminated,
metadata);
metadata
);
}

@Override
Expand Down Expand Up @@ -364,7 +366,8 @@ public static class InternalBucket extends InternalMultiBucketAggregation.Intern
List<String> sourceNames,
List<DocValueFormat> formats,
int[] reverseMuls,
MissingOrder[] missingOrders) throws IOException {
MissingOrder[] missingOrders
) throws IOException {
this.key = new CompositeKey(in);
this.docCount = in.readVLong();
this.aggregations = InternalAggregations.readFrom(in);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ protected InternalComposite createTestInstance(String name, Map<String, Object>
reverseMuls,
missingOrders,
randomBoolean(),
metadata);
metadata
);
}

@Override
Expand Down

0 comments on commit c078aec

Please sign in to comment.