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

Commit 1520b27

Browse files
committed
format
1 parent 0f4e93b commit 1520b27

1 file changed

Lines changed: 8 additions & 24 deletions

File tree

test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/CbtTestProxy.java

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,7 @@ public void mutateRow(
303303
return;
304304
} catch (StatusException | StatusRuntimeException e) {
305305
responseObserver.onNext(
306-
MutateRowResult.newBuilder()
307-
.setStatus(StatusProto.fromThrowable(e))
308-
.build());
306+
MutateRowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
309307
responseObserver.onCompleted();
310308
return;
311309
}
@@ -364,9 +362,7 @@ public void bulkMutateRows(
364362
return;
365363
} catch (StatusException | StatusRuntimeException e) {
366364
responseObserver.onNext(
367-
MutateRowsResult.newBuilder()
368-
.setStatus(StatusProto.fromThrowable(e))
369-
.build());
365+
MutateRowsResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
370366
responseObserver.onCompleted();
371367
return;
372368
}
@@ -425,9 +421,7 @@ public void readRow(ReadRowRequest request, StreamObserver<RowResult> responseOb
425421
return;
426422
} catch (StatusException | StatusRuntimeException e) {
427423
responseObserver.onNext(
428-
RowResult.newBuilder()
429-
.setStatus(StatusProto.fromThrowable(e))
430-
.build());
424+
RowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
431425
responseObserver.onCompleted();
432426
return;
433427
} catch (RuntimeException e) {
@@ -478,9 +472,7 @@ public void readRows(ReadRowsRequest request, StreamObserver<RowsResult> respons
478472
return;
479473
} catch (StatusException | StatusRuntimeException e) {
480474
responseObserver.onNext(
481-
RowsResult.newBuilder()
482-
.setStatus(StatusProto.fromThrowable(e))
483-
.build());
475+
RowsResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
484476
responseObserver.onCompleted();
485477
return;
486478
} catch (RuntimeException e) {
@@ -604,9 +596,7 @@ public void sampleRowKeys(
604596
return;
605597
} catch (StatusException | StatusRuntimeException e) {
606598
responseObserver.onNext(
607-
SampleRowKeysResult.newBuilder()
608-
.setStatus(StatusProto.fromThrowable(e))
609-
.build());
599+
SampleRowKeysResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
610600
responseObserver.onCompleted();
611601
return;
612602
}
@@ -652,9 +642,7 @@ public void checkAndMutateRow(
652642
return;
653643
} catch (StatusException | StatusRuntimeException e) {
654644
responseObserver.onNext(
655-
CheckAndMutateRowResult.newBuilder()
656-
.setStatus(StatusProto.fromThrowable(e))
657-
.build());
645+
CheckAndMutateRowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
658646
responseObserver.onCompleted();
659647
return;
660648
}
@@ -705,9 +693,7 @@ public void readModifyWriteRow(
705693
return;
706694
} catch (StatusException | StatusRuntimeException e) {
707695
responseObserver.onNext(
708-
RowResult.newBuilder()
709-
.setStatus(StatusProto.fromThrowable(e))
710-
.build());
696+
RowResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
711697
responseObserver.onCompleted();
712698
return;
713699
} catch (RuntimeException e) {
@@ -770,9 +756,7 @@ public void executeQuery(
770756
return;
771757
} catch (StatusException | StatusRuntimeException e) {
772758
responseObserver.onNext(
773-
ExecuteQueryResult.newBuilder()
774-
.setStatus(StatusProto.fromThrowable(e))
775-
.build());
759+
ExecuteQueryResult.newBuilder().setStatus(StatusProto.fromThrowable(e)).build());
776760
responseObserver.onCompleted();
777761
return;
778762
} catch (RuntimeException e) {

0 commit comments

Comments
 (0)