Skip to content

Commit

Permalink
chore: generate libraries at Mon Jan 6 12:32:16 UTC 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-java-bot committed Jan 6, 2025
1 parent cd417c6 commit 25668d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ public ApiFuture<Void> setCallback(Executor exec, ReadyCallback cb) {
this.result = SettableApiFuture.create();
this.state = State.STREAMING_INITIALIZED;
this.service.execute(new InitiateStreamingRunnable());
// initiateProduceRows();
// initiateProduceRows();
this.executor = MoreExecutors.newSequentialExecutor(Preconditions.checkNotNull(exec));
this.callback = Preconditions.checkNotNull(cb);
pausedLatch.countDown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,8 @@ private void ensureMostRecentTransaction(Session session, ByteString transaction
if (index > -1) {
long id = Long.parseLong(transactionId.toStringUtf8().substring(index + 1));
if (id != counter.get()) {
System.out.printf("Session ID %s TransactionId %s\n", session.getName(), transactionId.toStringUtf8());
System.out.printf(
"Session ID %s TransactionId %s\n", session.getName(), transactionId.toStringUtf8());
throw Status.FAILED_PRECONDITION
.withDescription(
String.format(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1593,7 +1593,7 @@ private void asyncTransactionManager_readAsync(
AsyncTransactionStep<Void, Long> count =
context.then(
(transaction, ignored) -> {
try(AsyncResultSet rs = fn.apply(transaction)) {
try (AsyncResultSet rs = fn.apply(transaction)) {
ApiFuture<Void> fut =
rs.setCallback(
queryExecutor,
Expand Down

0 comments on commit 25668d6

Please sign in to comment.