diff options
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/MixGetterVal.java | 2 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/ValInTryWithResources.java | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/MixGetterVal.java b/test/transform/resource/after-delombok/MixGetterVal.java index 7662608b..abc60d56 100644 --- a/test/transform/resource/after-delombok/MixGetterVal.java +++ b/test/transform/resource/after-delombok/MixGetterVal.java @@ -5,6 +5,8 @@ class MixGetterVal { public void test() { final int y = x; m(y); + final int a = getX(); + m(a); } @java.lang.SuppressWarnings("all") public int getX() { diff --git a/test/transform/resource/after-delombok/ValInTryWithResources.java b/test/transform/resource/after-delombok/ValInTryWithResources.java index 42bd3193..e1041928 100644 --- a/test/transform/resource/after-delombok/ValInTryWithResources.java +++ b/test/transform/resource/after-delombok/ValInTryWithResources.java @@ -1,3 +1,4 @@ +//version 7: import java.io.IOException; public class ValInTryWithResources { public void whyTryInsteadOfCleanup() throws IOException { |