Skip to content

Commit 7d19004

Browse files
committed
chore(spanner): lint fix
1 parent b6cee66 commit 7d19004

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ public TransactionContext resetForRetry() {
103103
}
104104
try (IScope s = tracer.withSpan(span)) {
105105
/*
106-
In case of regular session, explicitBeginBeforeUserOperation field is always true and hence there is no change in behaviour.
106+
In case of regular session, explicitBeginBeforeUserOperation field is always true and
107+
hence there is no change in behaviour.
107108
108109
If the transaction contains only mutations and is using a multiplexed session, perform a
109110
`BeginTransaction` after the user operation completes during a retry.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,8 @@ private <T> T runInternal(final TransactionCallable<T> txCallable) {
12421242
useInlinedBegin = txn.transactionId != null;
12431243

12441244
/*
1245-
In case of regular session, explicitBeginBeforeUserOperation field is always true and hence there is no change in behaviour.
1245+
In case of regular session, explicitBeginBeforeUserOperation field is always true and hence
1246+
there is no change in behaviour.
12461247
12471248
If the transaction contains only mutations and is using a multiplexed session, perform a
12481249
`BeginTransaction` after the user operation completes during a retry.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,8 +1293,7 @@ public void testMutationOnlyUsingAsyncTransactionManager() {
12931293

12941294
private Spanner setupSpannerForAbortedBeginTransactionTests() {
12951295
// Force the BeginTransaction RPC to return Aborted the first time it is called. The exception
1296-
// is cleared
1297-
// after the first call, so the retry should succeed.
1296+
// is cleared after the first call, so the retry should succeed.
12981297
mockSpanner.setBeginTransactionExecutionTime(
12991298
SimulatedExecutionTime.ofException(
13001299
mockSpanner.createAbortedException(ByteString.copyFromUtf8("test"))));

0 commit comments

Comments
 (0)