Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Mar 8, 2021
1 parent 0e7cbd2 commit c704929
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ public String toString() {

@Override
public boolean equals(Object obj) {
if (!(obj instanceof AbstractTreeNodeDecorator)) {
if (!(obj instanceof AbstractTreeNode)) {
return false;
}
return this.getContent().equals(((AbstractTreeNodeDecorator) obj).getContent());
return this.getContent().equals(((AbstractTreeNode) obj).getContent());
}

@Override
Expand Down

0 comments on commit c704929

Please sign in to comment.