aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Ernst <mernst@cs.washington.edu>2019-01-28 15:16:31 -0800
committerRoel Spilker <r.spilker@gmail.com>2019-01-29 01:03:59 +0100
commit960811364b792654cd154787758fbb16f2600f09 (patch)
treeffb0b5a301727fc4aad731e107b9d47cbc3e06de
parentf65dff42ea18f4775dae993f4e4e3136ee79b602 (diff)
downloadlombok-960811364b792654cd154787758fbb16f2600f09.tar.gz
lombok-960811364b792654cd154787758fbb16f2600f09.tar.bz2
lombok-960811364b792654cd154787758fbb16f2600f09.zip
Remove javax.validation.constraints.NotNull from list
-rw-r--r--src/core/lombok/core/handlers/HandlerUtil.java3
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",