This repository was archived by the owner on Aug 30, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2
proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2 Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments