-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We model the method so that the nullability of the return matches the nullability of the second argument. We also add an explicit model of `ImmutableMap.getOrDefault`, to override the annotations on that method for the case where `AcknowledgeRestrictiveAnnotations` is set. Fixes #723 Co-authored-by: Lázaro Clapp <lazaro@uber.com>
- Loading branch information
1 parent
8a24aa3
commit 8e948db
Showing
3 changed files
with
57 additions
and
1 deletion.
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