Skip to content

Commit

Permalink
chore: generate libraries at Mon Jan 6 12:45:18 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 5546490 commit db5bf3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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 db5bf3c

Please sign in to comment.