From 84d1c574ec8cda04e2b9a55e0d9e0081b44db5e1 Mon Sep 17 00:00:00 2001 From: Santiago Seifert Date: Mon, 6 Apr 2020 12:20:44 +0100 Subject: [PATCH] Rephrase NonNull javadoc to make it more generic Makes the javadocs more applicable to scenarios where the client is receiving a non-null parameter or returning a non-null value. Bug: 150289352 Test: Not applicable. Change-Id: If800dc9abcb20f00c1b73c71379465ea812b43ec --- core/java/android/annotation/NonNull.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/annotation/NonNull.java b/core/java/android/annotation/NonNull.java index a95bf3b8061e4..c5aff9d6794e9 100644 --- a/core/java/android/annotation/NonNull.java +++ b/core/java/android/annotation/NonNull.java @@ -30,8 +30,8 @@ import java.lang.annotation.Target; *

* This is a marker annotation and it has no specific attributes. * - * @paramDoc This value must never be {@code null}. - * @returnDoc This value will never be {@code null}. + * @paramDoc This value cannot be {@code null}. + * @returnDoc This value cannot be {@code null}. * @hide */ @Retention(SOURCE)