diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2019-03-12 00:58:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-12 00:58:07 +0100 |
commit | 46278009984624a5216d30931b53924cbe31cf6c (patch) | |
tree | d0c9b026555edb579d16cb85c6ee8d5a48a8f092 | |
parent | 3ac415254f64d27003a3c5b7a232a33fd785b1f9 (diff) | |
parent | 7f375f3a91c8acada12d2f4fd81572ba93c2a4c8 (diff) | |
download | lombok-46278009984624a5216d30931b53924cbe31cf6c.tar.gz lombok-46278009984624a5216d30931b53924cbe31cf6c.tar.bz2 lombok-46278009984624a5216d30931b53924cbe31cf6c.zip |
Merge pull request #2060 from nbali/patch-1
Fixed bug with 'lombok.experimental.flagUsage = ALLOW'
-rw-r--r-- | src/core/lombok/core/handlers/HandlerUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/core/handlers/HandlerUtil.java b/src/core/lombok/core/handlers/HandlerUtil.java index 1a92b5f6..d0092b53 100644 --- a/src/core/lombok/core/handlers/HandlerUtil.java +++ b/src/core/lombok/core/handlers/HandlerUtil.java @@ -372,7 +372,7 @@ public class HandlerUtil { if (fut != null) { String msg = "Use of " + featureName + " is flagged according to lombok configuration."; if (fut == FlagUsageType.WARNING) node.addWarning(msg); - else node.addError(msg); + else if (fut == FlagUsageType.ERROR) node.addError(msg); } } |