Skip to content

Commit

Permalink
Rename private append to appendInternal
Browse files Browse the repository at this point in the history
  • Loading branch information
yayi-google committed Mar 8, 2021
1 parent 9ff2aeb commit 8361971
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -226,10 +226,10 @@ public ApiFuture<AppendRowsResponse> append(ProtoRows rows, long offset) {
if (offset >= 0) {
requestBuilder.setOffset(Int64Value.of(offset));
}
return append(requestBuilder.build());
return appendInternal(requestBuilder.build());
}

private ApiFuture<AppendRowsResponse> append(AppendRowsRequest message) {
private ApiFuture<AppendRowsResponse> appendInternal(AppendRowsRequest message) {
AppendRequestAndResponse requestWrapper = new AppendRequestAndResponse(message);
if (requestWrapper.messageSize > getApiMaxRequestBytes()) {
requestWrapper.appendResult.setException(
Expand Down

0 comments on commit 8361971

Please sign in to comment.