Skip to content

Commit

Permalink
Merge branch '6.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
rayokota committed Feb 24, 2021
2 parents cb8c765 + 7086655 commit e6ae4a9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ public boolean equals(Object o) {
return false;
}
AvroSchema that = (AvroSchema) o;
return Objects.equals(schemaObj, that.schemaObj)
// Can't use schemaObj as it doesn't compare field doc, aliases, etc.
return Objects.equals(canonicalString(), that.canonicalString())
&& Objects.equals(references, that.references)
&& Objects.equals(version, that.version);
}
Expand Down

0 comments on commit e6ae4a9

Please sign in to comment.