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/InjectField.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/InjectField.java')
-rw-r--r-- | test/transform/resource/after-delombok/InjectField.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/InjectField.java b/test/transform/resource/after-delombok/InjectField.java index a9b4b1c4..59896400 100644 --- a/test/transform/resource/after-delombok/InjectField.java +++ b/test/transform/resource/after-delombok/InjectField.java @@ -4,6 +4,7 @@ enum InjectField1 { A, B; + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField1.class.getName()); @java.lang.SuppressWarnings("all") private final java.lang.Object $lock = new java.lang.Object[0]; @@ -34,6 +35,7 @@ enum InjectField1 { } class InjectField2 { + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField2.class.getName()); @java.lang.SuppressWarnings("all") private final java.lang.Object $lock = new java.lang.Object[0]; @@ -52,6 +54,7 @@ class InjectField2 { } class InjectField3 { + @java.lang.SuppressWarnings("all") private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(InjectField3.class.getName()); static { log.log(Level.FINE, "static initializer"); |