apache/beam
Voir sur GitHubPipelineOptions getters can produce null even if not annotated Nullable when no Default is specified
Open
#21 363 ouverte le 4 juin 2022
P2bugcoregood first issuejava
Métriques du dépôt
- Stars
- (7 313 stars)
- Métriques de merge PR
- (Merge moyen 6j) (243 PRs mergées en 30 j)
Description
Context: BEAM-13537, https://github.com/apache/beam/pull/16625#discussion_r793021931
PipelineOptions getters without Default specified can produce null, but because it happens in generated code, the null checker will not complain about it. Is there some way we can make sure getters without a Default are always Nullable?
Imported from Jira BEAM-13758. Original Jira may contain additional context. Reported by: bhulette.