From 6a19f36e596a575f15b99f1b4fb1c0b482915dfe Mon Sep 17 00:00:00 2001 From: Md Date: Thu, 19 Oct 2023 15:23:38 -0700 Subject: [PATCH] Update comment --- nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java b/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java index 4d5aa84e5b..768bb8f0c5 100644 --- a/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java +++ b/nullaway/src/main/java/com/uber/nullaway/NullabilityUtil.java @@ -318,7 +318,8 @@ private static boolean isDirectTypeUseAnnotation(Attribute.TypeCompound t, Confi break; case ARRAY: // Currently we are ignoring @Nullable annotations on type in JSpecify mode. - // Eventually, this should return true if annotation is on type. + // Eventually, this should return true, and array access should be handled + // elsewhere. if (config.isJSpecifyMode()) { return false; }