diff options
author | MOUYSSET Florent <3446172+FlorentMouysset@users.noreply.github.com> | 2021-04-27 18:18:16 +0200 |
---|---|---|
committer | MOUYSSET Florent <3446172+FlorentMouysset@users.noreply.github.com> | 2021-04-27 18:18:16 +0200 |
commit | a2a4ea7275e88956f619fc2349ee8a2af3f41262 (patch) | |
tree | 8de3619d1a599206edf33309496628bf476436ad | |
parent | 6758714ed564d72236564889157c4812eacb96fb (diff) | |
download | lombok-a2a4ea7275e88956f619fc2349ee8a2af3f41262.tar.gz lombok-a2a4ea7275e88956f619fc2349ee8a2af3f41262.tar.bz2 lombok-a2a4ea7275e88956f619fc2349ee8a2af3f41262.zip |
Fix @CustomLog-key in lombok.config for some error messages. Issue #2821
-rw-r--r-- | src/core/lombok/eclipse/handlers/HandleLog.java | 2 | ||||
-rw-r--r-- | src/core/lombok/javac/handlers/HandleLog.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleLog.java b/src/core/lombok/eclipse/handlers/HandleLog.java index 525f534a..1cac2de7 100644 --- a/src/core/lombok/eclipse/handlers/HandleLog.java +++ b/src/core/lombok/eclipse/handlers/HandleLog.java @@ -302,7 +302,7 @@ public class HandleLog { handleFlagUsage(annotationNode, ConfigurationKeys.LOG_CUSTOM_FLAG_USAGE, "@CustomLog", ConfigurationKeys.LOG_ANY_FLAG_USAGE, "any @Log"); LogDeclaration logDeclaration = annotationNode.getAst().readConfiguration(ConfigurationKeys.LOG_CUSTOM_DECLARATION); if (logDeclaration == null) { - annotationNode.addError("The @CustomLog annotation is not configured; please set log.custom.declaration in lombok.config."); + annotationNode.addError("The @CustomLog annotation is not configured; please set lombok.log.custom.declaration in lombok.config."); return; } LoggingFramework framework = new LoggingFramework(lombok.CustomLog.class, logDeclaration); diff --git a/src/core/lombok/javac/handlers/HandleLog.java b/src/core/lombok/javac/handlers/HandleLog.java index 47c4098f..40f7ff08 100644 --- a/src/core/lombok/javac/handlers/HandleLog.java +++ b/src/core/lombok/javac/handlers/HandleLog.java @@ -260,7 +260,7 @@ public class HandleLog { handleFlagUsage(annotationNode, ConfigurationKeys.LOG_CUSTOM_FLAG_USAGE, "@CustomLog", ConfigurationKeys.LOG_ANY_FLAG_USAGE, "any @Log"); LogDeclaration logDeclaration = annotationNode.getAst().readConfiguration(ConfigurationKeys.LOG_CUSTOM_DECLARATION); if (logDeclaration == null) { - annotationNode.addError("The @CustomLog is not configured; please set log.custom.declaration in lombok.config."); + annotationNode.addError("The @CustomLog is not configured; please set lombok.log.custom.declaration in lombok.config."); return; } LoggingFramework framework = new LoggingFramework(lombok.CustomLog.class, logDeclaration); |