aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/LoggerLog4j.java
diff options
context:
space:
mode:
authorRawi01 <Rawi01@users.noreply.github.com>2020-06-28 00:58:54 +0200
committerRoel Spilker <r.spilker@gmail.com>2020-07-02 23:08:41 +0200
commit9425e99b49d1a203c692fd2001ff3fd3d1612303 (patch)
tree99116795de313cec3e612026e81903d4e96a639b /test/transform/resource/after-delombok/LoggerLog4j.java
parente4ec9e664806612a5998bfdfa921837a43d58569 (diff)
downloadlombok-9425e99b49d1a203c692fd2001ff3fd3d1612303.tar.gz
lombok-9425e99b49d1a203c692fd2001ff3fd3d1612303.tar.bz2
lombok-9425e99b49d1a203c692fd2001ff3fd3d1612303.zip
[fixes #2469] Support static reference as logger topic
Diffstat (limited to 'test/transform/resource/after-delombok/LoggerLog4j.java')
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerLog4j.java b/test/transform/resource/after-delombok/LoggerLog4j.java
index 7d9d4409..cef83621 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j.java
@@ -10,3 +10,8 @@ class LoggerLog4jWithDifferentName {
@java.lang.SuppressWarnings("all")
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger("DifferentName");
}
+class LoggerLog4jWithStaticField {
+ @java.lang.SuppressWarnings("all")
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithStaticField.TOPIC);
+ static final String TOPIC = "StaticField";
+}