diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-12-05 22:23:39 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-12-05 22:23:39 +0100 |
commit | 0727c8bfd305408074d908dc4f8c31c0bff54789 (patch) | |
tree | ae7308e54bfb75eb22c1cc9c1d9beebea0005b29 /test/transform/resource/after-delombok | |
parent | 7969951125db42a84fbdd46d4a5fb804842e00f9 (diff) | |
download | lombok-0727c8bfd305408074d908dc4f8c31c0bff54789.tar.gz lombok-0727c8bfd305408074d908dc4f8c31c0bff54789.tar.bz2 lombok-0727c8bfd305408074d908dc4f8c31c0bff54789.zip |
Fixes #1254: Value and FieldDefaults should skip static fields
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/FieldDefaults.java | 2 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/ValueStaticField.java | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/FieldDefaults.java b/test/transform/resource/after-delombok/FieldDefaults.java index 8a84f442..6f866a9a 100644 --- a/test/transform/resource/after-delombok/FieldDefaults.java +++ b/test/transform/resource/after-delombok/FieldDefaults.java @@ -1,4 +1,5 @@ class FieldDefaults1 { + static int STATIC = 3; final int x; int y; FieldDefaults1(int x) { @@ -6,6 +7,7 @@ class FieldDefaults1 { } } class FieldDefaults2 { + static int STATIC = 3; int x; private int y; }
\ No newline at end of file diff --git a/test/transform/resource/after-delombok/ValueStaticField.java b/test/transform/resource/after-delombok/ValueStaticField.java index cec136f4..b4d60724 100644 --- a/test/transform/resource/after-delombok/ValueStaticField.java +++ b/test/transform/resource/after-delombok/ValueStaticField.java @@ -1,6 +1,6 @@ final class ValueStaticField { - private static int x; - private static final String PASSWORD = "Ken sent me"; + static int x; + static String PASSWORD = "Ken sent me"; @java.lang.SuppressWarnings("all") @javax.annotation.Generated("lombok") public ValueStaticField() { |