Skip to content

Commit

Permalink
fix: add missing equality check for targetTypes in DatasetAclEntity (#…
Browse files Browse the repository at this point in the history
…1866)

* fix: add missing equality check for targetTypes in DatasetAclEntity

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
stephaniewang526 and gcf-owl-bot[bot] authored Mar 7, 2022
1 parent c8eb867 commit ca28e2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ public boolean equals(Object obj) {
}
DatasetAclEntity datasetAclEntity = (DatasetAclEntity) obj;
return Objects.equals(getType(), datasetAclEntity.getType())
&& Objects.equals(id, datasetAclEntity.id);
&& Objects.equals(id, datasetAclEntity.id)
&& Objects.equals(targetTypes, datasetAclEntity.targetTypes);
}

@Override
Expand Down

0 comments on commit ca28e2d

Please sign in to comment.