Skip to content

Commit 40e0558

Browse files
chore: generate libraries at Mon Jan 6 09:54:34 UTC 2025
1 parent f22b9e8 commit 40e0558

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
3131
<groupId>com.google.cloud</groupId>
3232
<artifactId>google-cloud-spanner</artifactId>
3333
</dependency>
34-
</dependencies>
34+
3535
```
3636

3737
If you are using Maven without the BOM, add this to your dependencies:

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,12 @@ public Long apply(StructReader input) {
8585
public boolean failOnInvalidatedSession;
8686

8787
@Rule
88-
public TestRule watcher = new TestWatcher() {
89-
protected void starting(Description description) {
90-
System.out.println("Starting test: " + description.getMethodName());
91-
}
92-
};
88+
public TestRule watcher =
89+
new TestWatcher() {
90+
protected void starting(Description description) {
91+
System.out.println("Starting test: " + description.getMethodName());
92+
}
93+
};
9394

9495
@Parameters(name = "fail on invalidated session = {0}")
9596
public static Collection<Object[]> data() {
@@ -222,8 +223,10 @@ public void setUp() throws InterruptedException {
222223
!= failOnInvalidatedSession) {
223224
System.out.println("Recreating spanner instance");
224225
if (spanner != null) {
225-
System.out.printf("Closing the spanner instance %s %s",
226-
spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound(), failOnInvalidatedSession);
226+
System.out.printf(
227+
"Closing the spanner instance %s %s",
228+
spanner.getOptions().getSessionPoolOptions().isFailIfSessionNotFound(),
229+
failOnInvalidatedSession);
227230
spanner.close();
228231
}
229232
SessionPoolOptions.Builder builder = SessionPoolOptions.newBuilder().setFailOnSessionLeak();

0 commit comments

Comments
 (0)