Skip to content

Commit

Permalink
Comment reword
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Alfonsi <petealft@amazon.com>
  • Loading branch information
Peter Alfonsi committed Apr 15, 2024
1 parent 4b792b6 commit 62d1c04
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ Node aggregateByLevels(List<String> levels) {
* fully recursively while also passing in a completed map of children nodes before constructing the parent node.
* For this reason, in this function we have to build the new tree top down rather than bottom up.
* We use private methods allowing us to add children to/increment the stats for an existing node.
* This should be ok because the resulting trees are short-lived objects that are not exposed anywhere outside this class.
* This should be ok because the resulting trees are short-lived objects that are not exposed anywhere outside this class,
* and the original tree is never changed.
*/
private void aggregateByLevelsHelper(Node parentInNewTree, Node currentInOriginalTree, List<String> levels, int depth) {
if (levels.contains(dimensionNames.get(depth))) {
Expand Down

0 comments on commit 62d1c04

Please sign in to comment.