Skip to content

Commit 3fadd2b

Browse files
---
yaml --- r: 9147 b: refs/heads/mrschmidt-sizefix c: 627a3bf h: refs/heads/master i: 9145: 59a68f4 9143: 2b24c3f
1 parent 7042835 commit 3fadd2b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,4 @@ refs/tags/v0.35.0: c28951c5f4cc97a1be07900d19df6984115a4bd6
9999
refs/tags/v0.36.0: 6b75c61f73e6827b3ca379bd54f88f750290162f
100100
refs/tags/v0.37.0: db2e142f92601709fdd48db159776f905742e30f
101101
refs/heads/mrschmidt-revertfix: c4438a78f19430db9c883f997a94144230367d5d
102-
refs/heads/mrschmidt-sizefix: 79f02eb3188624f77ee2fc4017fe949f8298488b
102+
refs/heads/mrschmidt-sizefix: 627a3bfa30bb6f4f76af47b228c38b208dd921e0

branches/mrschmidt-sizefix/google-cloud-firestore/src/main/java/com/google/cloud/firestore/DocumentSnapshot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public boolean equals(Object obj) {
423423
if (this == obj) {
424424
return true;
425425
}
426-
if (obj == null || getClass() != obj.getClass()) {
426+
if (obj == null || !(obj instanceof DocumentSnapshot)) {
427427
return false;
428428
}
429429
DocumentSnapshot that = (DocumentSnapshot) obj;

branches/mrschmidt-sizefix/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ public boolean equals(Object obj) {
10771077
if (this == obj) {
10781078
return true;
10791079
}
1080-
if (obj == null || getClass() != obj.getClass()) {
1080+
if (obj == null || !(obj instanceof Query)) {
10811081
return false;
10821082
}
10831083
Query query = (Query) obj;

0 commit comments

Comments
 (0)