Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit a038b11

Browse files
committed
test: addresses PR comments
1 parent e30a333 commit a038b11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITBackupTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ private <T> T getOrThrow(OperationFuture<T, ?> operation)
403403
try {
404404
return operation.get();
405405
} catch (ExecutionException e) {
406-
if (e.getCause() != null && e.getCause() instanceof SpannerException) {
406+
if (e.getCause() instanceof SpannerException) {
407407
throw (SpannerException) e.getCause();
408408
} else {
409409
throw e;

0 commit comments

Comments
 (0)