aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource/after/CleanupName.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-12-02 02:48:07 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-12-02 02:48:07 +0100
commit2ef7ef3e9f925f92a23ad279755db165495623ab (patch)
tree8f0a20fb703dc7ceac2bb626de2a02797446a0d1 /test/delombok/resource/after/CleanupName.java
parent2ff16d337505d540fc840eae49543aa3e8801107 (diff)
downloadlombok-2ef7ef3e9f925f92a23ad279755db165495623ab.tar.gz
lombok-2ef7ef3e9f925f92a23ad279755db165495623ab.tar.bz2
lombok-2ef7ef3e9f925f92a23ad279755db165495623ab.zip
Improved tests to also test on value= parameters
Diffstat (limited to 'test/delombok/resource/after/CleanupName.java')
-rw-r--r--test/delombok/resource/after/CleanupName.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/delombok/resource/after/CleanupName.java b/test/delombok/resource/after/CleanupName.java
index 26997372..cd29eb68 100644
--- a/test/delombok/resource/after/CleanupName.java
+++ b/test/delombok/resource/after/CleanupName.java
@@ -1,5 +1,5 @@
-class Cleanup {
- void test() throws Exception {
+class CleanupName {
+ void test() {
Object o = "Hello World!";
try {
System.out.println(o);
@@ -7,4 +7,12 @@ class Cleanup {
o.toString();
}
}
+ void test2() {
+ Object o = "Hello World too!";
+ try {
+ System.out.println(o);
+ } finally {
+ o.toString();
+ }
+ }
}