Commit b15292c
committed
[IcebergIO] Wrap nullable Logger args for Java 17 Checker Framework
Raising the Java floor to 17 routes IcebergIO through a compile path where Beam's org.slf4j.Logger nullness suppression (skipUses) is not applied, so two latent Logger.info(@nullable) calls hard-error under the NullnessChecker. Wrap the nullable args in String.valueOf to make them @nonnull.1 parent 4f26daf commit b15292c
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
0 commit comments