diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2021-06-04 04:36:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 04:36:34 +0200 |
commit | e87703d33be8e4c28bff870e8863586fbeff1ab5 (patch) | |
tree | 5e823253ce2408b08c1b5ee986985779a446b22d | |
parent | 0ce8721960cefe32c01273e0e1b3a6f3a9eb474a (diff) | |
parent | a2a4ea7275e88956f619fc2349ee8a2af3f41262 (diff) | |
download | lombok-e87703d33be8e4c28bff870e8863586fbeff1ab5.tar.gz lombok-e87703d33be8e4c28bff870e8863586fbeff1ab5.tar.bz2 lombok-e87703d33be8e4c28bff870e8863586fbeff1ab5.zip |
Merge pull request #2822 from FlorentMouysset/master
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); |