Skip to content

Commit ca28e2d

Browse files
fix: add missing equality check for targetTypes in DatasetAclEntity (#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>
1 parent c8eb867 commit ca28e2d

File tree

1 file changed

+2
-1
lines changed
  • google-cloud-bigquery/src/main/java/com/google/cloud/bigquery

1 file changed

+2
-1
lines changed

google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/Acl.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ public boolean equals(Object obj) {
193193
}
194194
DatasetAclEntity datasetAclEntity = (DatasetAclEntity) obj;
195195
return Objects.equals(getType(), datasetAclEntity.getType())
196-
&& Objects.equals(id, datasetAclEntity.id);
196+
&& Objects.equals(id, datasetAclEntity.id)
197+
&& Objects.equals(targetTypes, datasetAclEntity.targetTypes);
197198
}
198199

199200
@Override

0 commit comments

Comments
 (0)