Skip to content

Remove annotations that say that varargs arrays themselves can be null.#1645

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_908360679
May 1, 2026
Merged

Remove annotations that say that varargs arrays themselves can be null.#1645
copybara-service[bot] merged 1 commit intomasterfrom
test_908360679

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Remove annotations that say that varargs arrays themselves can be null.

At the moment, they still can. But we are moving away from that, assisted by NullNeedsCastForVarargs.

(I notice again that we're still inconsistent about whether the element type in UsingCorrespondence should be E or @Nullable E. Maybe we'll standardize someday.)

RELNOTES=n/a

At the moment, they still can. But we are moving away from that, assisted by [NullNeedsCastForVarargs](https://errorprone.info/bugpattern/NullNeedsCastForVarargs).

(I notice again that we're still inconsistent about whether the _element_ type in `UsingCorrespondence` should be `E` or `@Nullable E`. Maybe we'll standardize someday.)

RELNOTES=n/a
PiperOrigin-RevId: 908809087
@copybara-service copybara-service Bot merged commit 87117a3 into master May 1, 2026
@copybara-service copybara-service Bot deleted the test_908360679 branch May 1, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant