diff options
author | peichhorn <peichhor@web.de> | 2011-10-07 21:40:33 +0200 |
---|---|---|
committer | peichhorn <peichhor@web.de> | 2011-10-07 21:40:33 +0200 |
commit | 2d3947046990e330f6402390291910c2c36fb4b0 (patch) | |
tree | a215f80189357a2c8c713b552272779c9197b915 /test/transform/resource/after-delombok/ValLessSimple.java | |
parent | 64ff254b654dc0506025797b083826433ca6646d (diff) | |
download | lombok-2d3947046990e330f6402390291910c2c36fb4b0.tar.gz lombok-2d3947046990e330f6402390291910c2c36fb4b0.tar.bz2 lombok-2d3947046990e330f6402390291910c2c36fb4b0.zip |
[Issue 281] added test
Diffstat (limited to 'test/transform/resource/after-delombok/ValLessSimple.java')
-rw-r--r-- | test/transform/resource/after-delombok/ValLessSimple.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/ValLessSimple.java b/test/transform/resource/after-delombok/ValLessSimple.java index 678b419e..d06c66ec 100644 --- a/test/transform/resource/after-delombok/ValLessSimple.java +++ b/test/transform/resource/after-delombok/ValLessSimple.java @@ -22,5 +22,12 @@ public class ValLessSimple { final java.lang.String foo = fieldV + methodV; } } + private void testValInCatchBlock() { + try { + final int x = 1 / 0; + } catch (ArithmeticException e) { + final int y = 0; + } + } private String field = "field"; }
\ No newline at end of file |