Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve null policy in wrapped Java Map
When using `compute`, which has "remove" semantics for `null` value, try alternative means when user wants to put a `null`. In particular, if the underlying map wants to throw NPE, the fallback should do so.
- Loading branch information
Showing
3 changed files
with
106 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters