Skip to content

Commit f4fe6a0

Browse files
deps: Update the Java code generator (gapic-generator-java) to 2.25.0 (#1902)
* chore: Update the Java code generator (gapic-generator-java) to 2.25.0 PiperOrigin-RevId: 563824709 Source-Link: googleapis/googleapis@8fe4127 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8c0112151b19d890bb49b747b0ab28b816d47b1 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhjMDExMjE1MWIxOWQ4OTBiYjQ5Yjc0N2IwYWIyOGI4MTZkNDdiMSJ9 * 🦉 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 7cc8a28 commit f4fe6a0

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154
if (o == this) {
155155
return true;
156156
}
157-
if (o != null || getClass() == o.getClass()) {
157+
if (o != null && getClass() == o.getClass()) {
158158
AppProfileName that = ((AppProfileName) o);
159159
return Objects.equals(this.project, that.project)
160160
&& Objects.equals(this.instance, that.instance)

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public boolean equals(Object o) {
174174
if (o == this) {
175175
return true;
176176
}
177-
if (o != null || getClass() == o.getClass()) {
177+
if (o != null && getClass() == o.getClass()) {
178178
BackupName that = ((BackupName) o);
179179
return Objects.equals(this.project, that.project)
180180
&& Objects.equals(this.instance, that.instance)

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154
if (o == this) {
155155
return true;
156156
}
157-
if (o != null || getClass() == o.getClass()) {
157+
if (o != null && getClass() == o.getClass()) {
158158
ClusterName that = ((ClusterName) o);
159159
return Objects.equals(this.project, that.project)
160160
&& Objects.equals(this.instance, that.instance)

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137
if (o == this) {
138138
return true;
139139
}
140-
if (o != null || getClass() == o.getClass()) {
140+
if (o != null && getClass() == o.getClass()) {
141141
InstanceName that = ((InstanceName) o);
142142
return Objects.equals(this.project, that.project)
143143
&& Objects.equals(this.instance, that.instance);

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137
if (o == this) {
138138
return true;
139139
}
140-
if (o != null || getClass() == o.getClass()) {
140+
if (o != null && getClass() == o.getClass()) {
141141
LocationName that = ((LocationName) o);
142142
return Objects.equals(this.project, that.project)
143143
&& Objects.equals(this.location, that.location);

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public boolean equals(Object o) {
127127
if (o == this) {
128128
return true;
129129
}
130-
if (o != null || getClass() == o.getClass()) {
130+
if (o != null && getClass() == o.getClass()) {
131131
ProjectName that = ((ProjectName) o);
132132
return Objects.equals(this.project, that.project);
133133
}

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public boolean equals(Object o) {
174174
if (o == this) {
175175
return true;
176176
}
177-
if (o != null || getClass() == o.getClass()) {
177+
if (o != null && getClass() == o.getClass()) {
178178
SnapshotName that = ((SnapshotName) o);
179179
return Objects.equals(this.project, that.project)
180180
&& Objects.equals(this.instance, that.instance)

proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154
if (o == this) {
155155
return true;
156156
}
157-
if (o != null || getClass() == o.getClass()) {
157+
if (o != null && getClass() == o.getClass()) {
158158
TableName that = ((TableName) o);
159159
return Objects.equals(this.project, that.project)
160160
&& Objects.equals(this.instance, that.instance)

proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public boolean equals(Object o) {
137137
if (o == this) {
138138
return true;
139139
}
140-
if (o != null || getClass() == o.getClass()) {
140+
if (o != null && getClass() == o.getClass()) {
141141
InstanceName that = ((InstanceName) o);
142142
return Objects.equals(this.project, that.project)
143143
&& Objects.equals(this.instance, that.instance);

proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public boolean equals(Object o) {
154154
if (o == this) {
155155
return true;
156156
}
157-
if (o != null || getClass() == o.getClass()) {
157+
if (o != null && getClass() == o.getClass()) {
158158
TableName that = ((TableName) o);
159159
return Objects.equals(this.project, that.project)
160160
&& Objects.equals(this.instance, that.instance)

0 commit comments

Comments
 (0)