Skip to content

Commit

Permalink
fix if struct
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan committed Nov 29, 2023
1 parent f7ef4a7 commit 0e1e7b9
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ public int hashCode() {

@Override
public boolean equals(Object o) {
if (o == null) {
return false;
}
if (!(o instanceof StructLiteral)) {
return false;
}
Expand All @@ -183,9 +180,6 @@ public boolean equals(Object o) {
}

StructLiteral that = (StructLiteral) o;
if (that.children.size() != children.size()) {
return false;
}
return Objects.equals(children, that.children);
}
}

0 comments on commit 0e1e7b9

Please sign in to comment.