From e17889950a9862b6c57bc05317f884d94250d72a Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Tue, 5 Dec 2023 20:43:39 -0800 Subject: [PATCH] add comment --- test-java-lib-lombok/src/main/java/com/uber/lombok/UsesDTO.java | 1 + 1 file changed, 1 insertion(+) diff --git a/test-java-lib-lombok/src/main/java/com/uber/lombok/UsesDTO.java b/test-java-lib-lombok/src/main/java/com/uber/lombok/UsesDTO.java index dddac74766..bef6f7898f 100644 --- a/test-java-lib-lombok/src/main/java/com/uber/lombok/UsesDTO.java +++ b/test-java-lib-lombok/src/main/java/com/uber/lombok/UsesDTO.java @@ -40,6 +40,7 @@ public static String foo(LombokDTO ldto) { } public static boolean callEquals(LombokDTO ldto, @Nullable Object o) { + // No error should be reported since equals() parameter should be treated as @Nullable return ldto.equals(o); } }