Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Jul 18, 2024
1 parent b23686f commit 3362b93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ private static FieldAggregator createFieldNestedUpdateAgg(
public abstract Object agg(Object accumulator, Object inputField);

// for sequence group accumulate
public Object aggReversed(Object accumulator, Object inputField) {
return agg(accumulator, inputField);
public Object aggReversed(Object inputField, Object accumulator) {
return agg(inputField, accumulator);
}

/** reset the aggregator to a clean start state. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ String name() {
}

@Override
public Object aggReversed(Object accumulator, Object inputField) {
public Object aggReversed(Object inputField, Object accumulator) {
// reverse back for this agg
return agg(inputField, accumulator);
return agg(accumulator, inputField);
}

@Override
Expand Down

0 comments on commit 3362b93

Please sign in to comment.