Skip to content

Commit db5bf3c

Browse files
chore: generate libraries at Mon Jan 6 12:45:18 UTC 2025
1 parent 5546490 commit db5bf3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

google-cloud-spanner/src/test/java/com/google/cloud/spanner/MockSpannerServiceImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,8 @@ private void ensureMostRecentTransaction(Session session, ByteString transaction
20002000
if (index > -1) {
20012001
long id = Long.parseLong(transactionId.toStringUtf8().substring(index + 1));
20022002
if (id != counter.get()) {
2003-
System.out.printf("Session ID %s TransactionId %s\n", session.getName(), transactionId.toStringUtf8());
2003+
System.out.printf(
2004+
"Session ID %s TransactionId %s\n", session.getName(), transactionId.toStringUtf8());
20042005
throw Status.FAILED_PRECONDITION
20052006
.withDescription(
20062007
String.format(

google-cloud-spanner/src/test/java/com/google/cloud/spanner/RetryOnInvalidatedSessionTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ private void asyncTransactionManager_readAsync(
15931593
AsyncTransactionStep<Void, Long> count =
15941594
context.then(
15951595
(transaction, ignored) -> {
1596-
try(AsyncResultSet rs = fn.apply(transaction)) {
1596+
try (AsyncResultSet rs = fn.apply(transaction)) {
15971597
ApiFuture<Void> fut =
15981598
rs.setCallback(
15991599
queryExecutor,

0 commit comments

Comments
 (0)