Commit 7bfc62d
docs: Update SpannerSample.java to align with best practices (#3625)
* Update SpannerSample.java
Encapsulates both statements in a try-with-resources statement
* Update SpannerSample.java
* Update SpannerSample.java
Fix spacing linter errors
* Update SpannerSample.java
Clear Linter errors for indent
---------
Co-authored-by: Sakthivel Subramanian <[email protected]>1 parent 43ea4fa commit 7bfc62d
File tree
1 file changed
+11
-10
lines changed- samples/snippets/src/main/java/com/example/spanner
1 file changed
+11
-10
lines changedLines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
| 682 | + | |
683 | 683 | | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
690 | 691 | | |
691 | 692 | | |
692 | | - | |
| 693 | + | |
693 | 694 | | |
694 | 695 | | |
695 | 696 | | |
696 | 697 | | |
697 | 698 | | |
698 | | - | |
699 | | - | |
| 699 | + | |
| 700 | + | |
700 | 701 | | |
701 | 702 | | |
702 | 703 | | |
| |||
0 commit comments