diff options
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 3 |
1 files changed, 2 insertions, 1 deletions
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", |