Skip to content

Remove null checks where null is impossible.#5890

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_934509236
Jun 19, 2026
Merged

Remove null checks where null is impossible.#5890
copybara-service[bot] merged 1 commit into
masterfrom
test_934509236

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Remove null checks where null is impossible.

Jetski keeps wanting to insert such checks in unknown commit on the result of getSymbol overloads that never return null. Maybe this will help? Also, it's nice to simplify the code.

Those changes come courtesy of IntelliJ.

Also, in SuppressionInfo, move away from an AtomicBoolean pattern that I personally don't love in favor of an equivalent pattern using var, which I do love.

Jetski keeps wanting to insert such checks in unknown commit on the result of `getSymbol` overloads that never return `null`. Maybe this will help? Also, it's nice to simplify the code.

Those changes come courtesy of IntelliJ.

Also, in `SuppressionInfo`, move away from an `AtomicBoolean` pattern that I personally don't love in favor of an equivalent pattern using `var`, which I do love.

PiperOrigin-RevId: 934978976
@copybara-service copybara-service Bot merged commit 8aaf514 into master Jun 19, 2026
@copybara-service copybara-service Bot deleted the test_934509236 branch June 19, 2026 17:29
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