From 960811364b792654cd154787758fbb16f2600f09 Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Mon, 28 Jan 2019 15:16:31 -0800 Subject: Remove javax.validation.constraints.NotNull from list --- src/core/lombok/core/handlers/HandlerUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java index 1f8e6964..1a92b5f6 100644 --- a/src/core/lombok/core/handlers/HandlerUtil.java +++ b/src/core/lombok/core/handlers/HandlerUtil.java @@ -84,7 +84,8 @@ public class HandlerUtil { "com.sun.istack.internal.NotNull", "edu.umd.cs.findbugs.annotations.NonNull", "javax.annotation.Nonnull", - "javax.validation.constraints.NotNull", + // The field might contain a null value until it is persisted. + // "javax.validation.constraints.NotNull", "lombok.NonNull", "org.checkerframework.checker.nullness.qual.NonNull", "org.eclipse.jdt.annotation.NonNull", -- cgit