summaryrefslogtreecommitdiff
path: root/ojluni/annotations/sdk/nullability/java/util/Objects.annotated.java
diff options
context:
space:
mode:
authorPete Gillin <peteg@google.com>2018-10-29 15:55:41 +0000
committerPete Gillin <peteg@google.com>2018-11-02 12:53:27 +0000
commit802285f844290d520fe5ade574fdf79de217e19f (patch)
tree9fcb2d3e23f0df413d0bbcb8a75c048136035e84 /ojluni/annotations/sdk/nullability/java/util/Objects.annotated.java
parenta12872f1fd8e34de8da0a51b275e2f7f23f4f530 (diff)
Add nullability annotations to java.security.MessageDigest.
Points of note: - It is theoretically possible to construct an instance where the algorithm is null, but it seems clear that doing this is not intended, so this change treats it as @NonNull everywhere. (Forcing users to null-check the return of getAlgorithm(), for example, would not be helpful.) - This class itself does not prevent digest() returning a null array, but the jvadoc implies that it won't, so again this change treats it as @NonNull. Bug: 64930165 Test: make core-current-stubs-nullability-validation-check-nullability-warnings
Diffstat (limited to 'ojluni/annotations/sdk/nullability/java/util/Objects.annotated.java')
0 files changed, 0 insertions, 0 deletions