aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ValLessSimple.java
diff options
context:
space:
mode:
authorpeichhorn <peichhor@web.de>2011-10-07 21:40:33 +0200
committerpeichhorn <peichhor@web.de>2011-10-07 21:40:33 +0200
commit2d3947046990e330f6402390291910c2c36fb4b0 (patch)
treea215f80189357a2c8c713b552272779c9197b915 /test/transform/resource/after-delombok/ValLessSimple.java
parent64ff254b654dc0506025797b083826433ca6646d (diff)
downloadlombok-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.java7
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