Skip to content

Commit

Permalink
MINOR: Fix comment in quick union (apache#5244)
Browse files Browse the repository at this point in the history
Reviewers: Bill Bejeck <[email protected]>, Matthias J. Sax <[email protected]>
  • Loading branch information
xinzhg authored and mjsax committed Jun 26, 2018
1 parent 581adb5 commit b054789
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public T root(T id) {
throw new NoSuchElementException("id: " + id.toString());

while (!parent.equals(current)) {
// do the path compression
// do the path splitting
T grandparent = ids.get(parent);
ids.put(current, grandparent);

Expand Down

0 comments on commit b054789

Please sign in to comment.