Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
starkda committed Apr 4, 2024
1 parent 69c8980 commit 202e99e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public int getSize() {
*/
private T getParent(final T node) {
if (!this.parents.containsKey(node)) {
throw new IllegalStateException("some of the nodes are not from the initial set");
throw new IllegalStateException("node is not from the initial set");
}
T ancestor = node;
while (!this.parents.get(ancestor).equals(ancestor)) {
Expand Down

0 comments on commit 202e99e

Please sign in to comment.