Skip to content

Commit

Permalink
revert original map
Browse files Browse the repository at this point in the history
  • Loading branch information
artsiomkorzun committed Jan 30, 2024
1 parent b907ea9 commit b1c18a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private static void execute() throws Exception {
aggregators[i].join();
}

Map<String, Aggregate> aggregates = result.get().aggregate();
Map<String, Aggregate> aggregates = result.get().build();
System.out.println(text(aggregates));
System.out.close();
}
Expand Down Expand Up @@ -263,7 +263,7 @@ public void merge(Aggregates rights) {
}
}

public Map<String, Aggregate> aggregate() {
public Map<String, Aggregate> build() {
TreeMap<String, Aggregate> set = new TreeMap<>();

for (long offset = 0; offset < SIZE; offset += 128) {
Expand Down

0 comments on commit b1c18a7

Please sign in to comment.