diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-12-11 22:38:59 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-12-11 22:40:49 +0100 |
commit | 7d51842ca381c491d5dfb44bc76b0cea345e7170 (patch) | |
tree | 0755b629d11d88b15713bac67d9c12751fe8294b /test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java | |
parent | 5f92913a52f46300235e6f31b356025998d9f859 (diff) | |
download | lombok-7d51842ca381c491d5dfb44bc76b0cea345e7170.tar.gz lombok-7d51842ca381c491d5dfb44bc76b0cea345e7170.tar.bz2 lombok-7d51842ca381c491d5dfb44bc76b0cea345e7170.zip |
semi-fix for issue 602, but not complete as adding annotations to generated fields leads to crazy issues (see issue 217): generated LOG field now has @SuppressWarnings on it.
Diffstat (limited to 'test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java')
-rw-r--r-- | test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java b/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java index b337bd02..b82ed6ec 100644 --- a/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java +++ b/test/transform/resource/after-delombok/LoggerSlf4jWithPackage.java @@ -1,9 +1,11 @@ package before; class LoggerSlf4jWithPackage { + @java.lang.SuppressWarnings("all") private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithPackage.class); } class LoggerSlf4jWithPackageOuter { static class Inner { + @java.lang.SuppressWarnings("all") private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(Inner.class); } } |