aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/LoggerCommons.java8
-rw-r--r--test/transform/resource/after-delombok/LoggerJul.java8
-rw-r--r--test/transform/resource/after-delombok/LoggerLog4j.java8
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4j.java5
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4jClassOfArray.java6
-rw-r--r--test/transform/resource/after-delombok/LoggerSlf4jWithClass.java12
6 files changed, 14 insertions, 33 deletions
diff --git a/test/transform/resource/after-delombok/LoggerCommons.java b/test/transform/resource/after-delombok/LoggerCommons.java
index a55aa336..c2a03815 100644
--- a/test/transform/resource/after-delombok/LoggerCommons.java
+++ b/test/transform/resource/after-delombok/LoggerCommons.java
@@ -1,9 +1,7 @@
class LoggerCommons {
private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class);
}
-class LoggerCommonsString {
- private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(String.class);
-}
-class LoggerCommonsJavaLangString {
- private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(java.lang.String.class);
+
+class LoggerCommonsWithImport {
+ private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithImport.class);
} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/LoggerJul.java b/test/transform/resource/after-delombok/LoggerJul.java
index 51f19926..39cb2aac 100644
--- a/test/transform/resource/after-delombok/LoggerJul.java
+++ b/test/transform/resource/after-delombok/LoggerJul.java
@@ -1,9 +1,7 @@
class LoggerJul {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJul.class.getName());
}
-class LoggerJulString {
- private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(String.class.getName());
-}
-class LoggerJulJavaLangString {
- private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(java.lang.String.class.getName());
+
+class LoggerJulWithImport {
+ private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LoggerJulWithImport.class.getName());
} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/LoggerLog4j.java b/test/transform/resource/after-delombok/LoggerLog4j.java
index e946c858..6892a7d8 100644
--- a/test/transform/resource/after-delombok/LoggerLog4j.java
+++ b/test/transform/resource/after-delombok/LoggerLog4j.java
@@ -1,9 +1,7 @@
class LoggerLog4j {
private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4j.class);
}
-class LoggerLog4jString {
- private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(String.class);
-}
-class LoggerLog4jJavaLangString {
- private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(java.lang.String.class);
+
+class LoggerLog4jWithImport {
+ private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(LoggerLog4jWithImport.class);
} \ No newline at end of file
diff --git a/test/transform/resource/after-delombok/LoggerSlf4j.java b/test/transform/resource/after-delombok/LoggerSlf4j.java
index c7c84631..cb1486ba 100644
--- a/test/transform/resource/after-delombok/LoggerSlf4j.java
+++ b/test/transform/resource/after-delombok/LoggerSlf4j.java
@@ -1,6 +1,11 @@
class LoggerSlf4j {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4j.class);
}
+
+class LoggerSlf4jWithImport {
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithImport.class);
+}
+
class LoggerSlf4jOuter {
static class Inner {
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class);
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jClassOfArray.java b/test/transform/resource/after-delombok/LoggerSlf4jClassOfArray.java
deleted file mode 100644
index 00b44d5c..00000000
--- a/test/transform/resource/after-delombok/LoggerSlf4jClassOfArray.java
+++ /dev/null
@@ -1,6 +0,0 @@
-class LoggerSlf4jClassOfArray {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(String[].class);
-}
-class LoggerSlf4jClassOfArrayJLS {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.lang.String[].class);
-}
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jWithClass.java b/test/transform/resource/after-delombok/LoggerSlf4jWithClass.java
deleted file mode 100644
index b4e2181e..00000000
--- a/test/transform/resource/after-delombok/LoggerSlf4jWithClass.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class LoggerSlf4jWithClass {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(String.class);
-}
-class LoggerSlf4jWithClassList {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.util.List.class);
-}
-class LoggerSlf4jWithClassValue {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.lang.String.class);
-}
-class LoggerSlf4jWithClassVoid {
- private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(void.class);
-}