Commit 9c82e05
Avoid output inside try-catch in Java IO (#39124)
* Avoid output inside try-catch in Java IO
* Preserve null handling when moving output
* Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Apply Spotless formatting
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 9ae08d5 commit 9c82e05
3 files changed
Lines changed: 33 additions & 7 deletions
File tree
- sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp
- bigquery
- healthcare
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2105 | 2105 | | |
2106 | 2106 | | |
2107 | 2107 | | |
| 2108 | + | |
| 2109 | + | |
2108 | 2110 | | |
2109 | 2111 | | |
2110 | | - | |
| 2112 | + | |
| 2113 | + | |
| 2114 | + | |
2111 | 2115 | | |
2112 | 2116 | | |
2113 | 2117 | | |
| |||
2120 | 2124 | | |
2121 | 2125 | | |
2122 | 2126 | | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
2123 | 2130 | | |
2124 | 2131 | | |
| 2132 | + | |
| 2133 | + | |
2125 | 2134 | | |
2126 | 2135 | | |
2127 | | - | |
| 2136 | + | |
| 2137 | + | |
2128 | 2138 | | |
2129 | 2139 | | |
2130 | 2140 | | |
| |||
2137 | 2147 | | |
2138 | 2148 | | |
2139 | 2149 | | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2140 | 2153 | | |
2141 | 2154 | | |
2142 | 2155 | | |
| |||
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/healthcare/FhirIO.java
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
605 | 606 | | |
606 | | - | |
| 607 | + | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| |||
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| |||
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| 368 | + | |
368 | 369 | | |
369 | | - | |
| 370 | + | |
370 | 371 | | |
371 | 372 | | |
372 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| |||
487 | 491 | | |
488 | 492 | | |
489 | 493 | | |
| 494 | + | |
490 | 495 | | |
491 | | - | |
492 | | - | |
493 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
494 | 500 | | |
495 | 501 | | |
496 | 502 | | |
497 | 503 | | |
498 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
499 | 508 | | |
500 | 509 | | |
501 | 510 | | |
| |||
0 commit comments