[fixes #2990, #3069] log4j2 logger enum test cases

This commit is contained in:
varkart committed 2022-02-17 13:06:48 -05:00
1 parent 9967246598
commit 401a5bf7f2
3 files changed
+48

No files matched your search

@@ -15,4 +15,17 @@ class LoggerLog4j2WithStaticField {
@java.lang.SuppressWarnings("all")
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithStaticField.TOPIC);
static final String TOPIC = "StaticField";
}
enum LoggerLog4j2WithEnum {
CONSTANT;
@java.lang.SuppressWarnings("all")
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(LoggerLog4j2WithEnum.class);
}
class LoggerLog4j2WithInnerEnum {
enum Inner {
CONSTANT;
@java.lang.SuppressWarnings("all")
private static final org.apache.logging.log4j.Logger log = org.apache.logging.log4j.LogManager.getLogger(Inner.class);
}
}