Skip to content

Commit 7eb846a

Browse files
authored
fix: lint
1 parent d301dd1 commit 7eb846a

File tree

1 file changed

+1
-2
lines changed
  • google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner

1 file changed

+1
-2
lines changed

google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudExecutor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,7 @@ protected Status toStatus(SpannerException e) {
441441
return Status.fromCode(Status.INTERNAL.getCode())
442442
.withDescription(errorMessage + e.getReason() == null ? "" : ": " + e.getReason());
443443
case FAILED_PRECONDITION:
444-
return Status.fromCode(Status.FAILED_PRECONDITION.getCode())
445-
.withDescription(errorMessage);
444+
return Status.fromCode(Status.FAILED_PRECONDITION.getCode()).withDescription(errorMessage);
446445
case NOT_FOUND:
447446
return Status.fromCode(Status.NOT_FOUND.getCode()).withDescription(errorMessage);
448447
case DEADLINE_EXCEEDED:

0 commit comments

Comments
 (0)