Skip to content

Commit 42305dc

Browse files
committed
Fold Objects.equals
1 parent 32ff677 commit 42305dc

File tree

1 file changed

+0
-3
lines changed
  • google-cloud-spanner/src/main/java/com/google/cloud/spanner

1 file changed

+0
-3
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/Options.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,9 +1098,6 @@ public boolean equals(Object o) {
10981098
return false;
10991099
}
11001100
RequestIdOption other = (RequestIdOption) o;
1101-
if (this.reqId == null || other.reqId == null) {
1102-
return this.reqId == null && other.reqId == null;
1103-
}
11041101
return Objects.equals(this.reqId, other.reqId);
11051102
}
11061103
}

0 commit comments

Comments
 (0)