Skip to content

Commit d80fda0

Browse files
committed
chore(spanner): lint fix
1 parent e5d0ca4 commit d80fda0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,9 @@ private static void checkStreamException(
610610
private ConcurrentMap<String, List<ByteString>> partitionTokens = new ConcurrentHashMap<>();
611611
private ConcurrentMap<ByteString, Instant> transactionLastUsed = new ConcurrentHashMap<>();
612612

613-
// Stores latest sequence number required for precommit token.
613+
// Stores the latest sequence number needed for the precommit token.
614+
// The transaction entry is created only if the transaction is read-write and executed on a
615+
// multiplexed session.
614616
private static ConcurrentMap<ByteString, AtomicInteger> transactionSequenceNo =
615617
new ConcurrentHashMap<>();
616618
private int maxNumSessionsInOneBatch = 100;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ public void testAbortedReadWriteTxnUsesPreviousTxnIdOnRetryWithExplicitBegin() {
926926
.getReadWrite()
927927
.getMultiplexedSessionPreviousTransactionId());
928928
}
929-
929+
930930
@Test
931931
public void testPrecommitTokenForResultSet() {
932932
// This test verifies that the precommit token received from the ResultSet is properly tracked

0 commit comments

Comments
 (0)