From a58a2a57bab8902fad426f66aa20e63501878f7a Mon Sep 17 00:00:00 2001 From: Tom Fenwick Date: Fri, 7 Jun 2024 14:54:44 -0700 Subject: [PATCH] annotate method parameter with nullable --- .../java/org/apache/druid/segment/DimensionHandlerUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/src/main/java/org/apache/druid/segment/DimensionHandlerUtils.java b/processing/src/main/java/org/apache/druid/segment/DimensionHandlerUtils.java index 65cf2b0282a3..4e0198e84ba2 100644 --- a/processing/src/main/java/org/apache/druid/segment/DimensionHandlerUtils.java +++ b/processing/src/main/java/org/apache/druid/segment/DimensionHandlerUtils.java @@ -400,9 +400,9 @@ public static Long convertObjectToLong(@Nullable Object valObj, boolean reportPa } @Nullable - public static Long convertObjectToLong(Object value, String fieldName) + public static Long convertObjectToLong(@Nullable Object valObj, String fieldName) { - return convertObjectToLong(value, false, fieldName); + return convertObjectToLong(valObj, false, fieldName); } @Nullable