Skip to content

Commit 7e8a17a

Browse files
chore: generate libraries at Wed Apr 30 16:40:04 UTC 2025
1 parent a2fc47b commit 7e8a17a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionPool.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2718,7 +2718,9 @@ private Tuple<PooledSession, Integer> findSessionToKeepAlive(
27182718
return null;
27192719
}
27202720

2721-
/** @return true if this {@link SessionPool} is still valid. */
2721+
/**
2722+
* @return true if this {@link SessionPool} is still valid.
2723+
*/
27222724
boolean isValid() {
27232725
synchronized (lock) {
27242726
return closureFuture == null && resourceNotFoundException == null;

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,10 +1239,11 @@ public void testAbandonedAsyncTransactionManager_rollbackFails() throws Exceptio
12391239

12401240
@Test
12411241
public void testRollbackAndCloseEmptyTransaction() throws Exception {
1242-
assumeFalse(spannerWithEmptySessionPool
1243-
.getOptions()
1244-
.getSessionPoolOptions()
1245-
.getUseMultiplexedSessionForRW());
1242+
assumeFalse(
1243+
spannerWithEmptySessionPool
1244+
.getOptions()
1245+
.getSessionPoolOptions()
1246+
.getUseMultiplexedSessionForRW());
12461247

12471248
DatabaseClientImpl client = (DatabaseClientImpl) clientWithEmptySessionPool();
12481249

0 commit comments

Comments
 (0)