diff options
author | Balázs Németh <nbali@users.noreply.github.com> | 2019-03-07 17:31:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-07 17:31:05 +0100 |
commit | 7f375f3a91c8acada12d2f4fd81572ba93c2a4c8 (patch) | |
tree | d0c9b026555edb579d16cb85c6ee8d5a48a8f092 | |
parent | 3ac415254f64d27003a3c5b7a232a33fd785b1f9 (diff) | |
download | lombok-7f375f3a91c8acada12d2f4fd81572ba93c2a4c8.tar.gz lombok-7f375f3a91c8acada12d2f4fd81572ba93c2a4c8.tar.bz2 lombok-7f375f3a91c8acada12d2f4fd81572ba93c2a4c8.zip |
Fixed bug with 'lombok.experimental.flagUsage = ALLOW'
Fixes #2059
-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); } } |