Closed cernautan closed 2 years ago
I think the protected boolean _equals(JsonSchema that) contains an issue on the 'id' comparison line. It should be equals(getId(), that.getId()) instead of the current code that is equals(getId(), getId()).
Looks like a legit fix, will merge. Would be great to have a unit test to verify but implementation looks wrong so...
I think the protected boolean _equals(JsonSchema that) contains an issue on the 'id' comparison line. It should be equals(getId(), that.getId()) instead of the current code that is equals(getId(), getId()).