diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-11-22 23:52:34 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-11-22 23:52:34 +0100 |
commit | f258229b88a797694320b1794a4084998411a94b (patch) | |
tree | 293cf2d35ef61282eb45e494879e073ebcf5930b /test/transform/resource/after-ecj/LoggerCommons.java | |
parent | 8eb05b357d37b8e58cfb4ecb331371c88f1a856b (diff) | |
download | lombok-f258229b88a797694320b1794a4084998411a94b.tar.gz lombok-f258229b88a797694320b1794a4084998411a94b.tar.bz2 lombok-f258229b88a797694320b1794a4084998411a94b.zip |
- Renamed the diverse @Log annotations to give them distinct names
- Removed the option to specify a different class to log on
- Updated tests and documentation
Diffstat (limited to 'test/transform/resource/after-ecj/LoggerCommons.java')
-rw-r--r-- | test/transform/resource/after-ecj/LoggerCommons.java | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/test/transform/resource/after-ecj/LoggerCommons.java b/test/transform/resource/after-ecj/LoggerCommons.java index bb38983f..d63bb9c1 100644 --- a/test/transform/resource/after-ecj/LoggerCommons.java +++ b/test/transform/resource/after-ecj/LoggerCommons.java @@ -1,4 +1,5 @@ -@lombok.extern.apachecommons.Log class LoggerCommons { +import lombok.extern.apachecommons.CommonsLog; +@lombok.extern.apachecommons.CommonsLog class LoggerCommons { private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommons.class); <clinit>() { } @@ -6,19 +7,11 @@ super(); } } -@lombok.extern.apachecommons.Log(String.class) class LoggerCommonsString { - private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(String.class); +@CommonsLog class LoggerCommonsWithImport { + private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(LoggerCommonsWithImport.class); <clinit>() { } - LoggerCommonsString() { - super(); - } -} -@lombok.extern.apachecommons.Log(java.lang.String.class) class LoggerCommonsJavaLangString { - private static final org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog(java.lang.String.class); - <clinit>() { - } - LoggerCommonsJavaLangString() { + LoggerCommonsWithImport() { super(); } }
\ No newline at end of file |