Fixed bug with 'lombok.experimental.flagUsage = ALLOW'

Fixes #2059
This commit is contained in:
Balázs Németh authored and GitHub committed 2019-03-07 17:31:05 +01:00
1 parent 3ac415254f
commit 7f375f3a91
1 file changed
+1 -1
@@ -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);
}
}