From 2ef7ef3e9f925f92a23ad279755db165495623ab Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Wed, 2 Dec 2009 02:48:07 +0100 Subject: Improved tests to also test on value= parameters --- test/delombok/resource/after/CleanupName.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'test/delombok/resource/after/CleanupName.java') 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(); + } + } } -- cgit