mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-17 10:14:29 +00:00
[fixes #2469] Support static reference as logger topic
This commit is contained in:
1 parent
e4ec9e6648
commit
9425e99b49
34 files changed
+279
-37
No files matched your search
@@ -10,3 +10,8 @@ class LoggerCommonsWithDifferentName {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog("DifferentName");
|
||||
}
|
||||
class LoggerCommonsWithStaticField {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithStaticField.TOPIC);
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
Reference in new issue
Block a user