Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document and test how ImmutableMap.toImmutableMap behaves when the mergeFunction returns null. #6826

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link
Contributor

@copybara-service copybara-service bot commented Nov 8, 2023

Document and test how ImmutableMap.toImmutableMap behaves when the mergeFunction returns null.

(The test is Google-internal for now because we're in the process of reshuffling our Collector tests to make them run under Android as part of #6567. Also, we skip the test under GWT+J2CL because of a bug in their implementation of Collectors.toMap.)

This addresses the main part of #6824, but I'm keeping the bug open as a prompt to recognize our nullness annotations in the future.

RELNOTES=n/a

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.

0 participants