Skip to content

API: Convert statement switches to arrow switches in util and top-level enums - #17733

Draft
uros-b wants to merge 1 commit into
apache:mainfrom
uros-b:api-arrow-switch-misc
Draft

API: Convert statement switches to arrow switches in util and top-level enums#17733
uros-b wants to merge 1 commit into
apache:mainfrom
uros-b:api-arrow-switch-misc

Conversation

@uros-b

@uros-b uros-b commented Aug 19, 2026

Copy link
Copy Markdown
Member

Converts the statement-form switch blocks in util and top-level enums to expression form, clearing the corresponding StatementSwitchToExpressionSwitch ErrorProne warnings the module emits and removing the risk of accidental fall-through in the converted code. Note: this is one of a series of per-package PRs splitting the iceberg-api switch conversion (#17534), following the discussion on #17534 (comment) to land it as individual reviewable PRs rather than one sweep.

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Converting to Draft, until we agree on #17534 (comment).

@uros-b
uros-b marked this pull request as draft August 19, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant