Added test for Finally clause.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1303 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
David Dixon-Peugh
2002-12-16 20:59:56 +00:00
parent 2693e41ede
commit 5730150f82

View File

@ -0,0 +1,10 @@
public class OnlyOneReturn5 {
public int foo(int x) {
try {
x += 2;
return x;
} finally {
System.err.println("WunderBuggy!");
}
}
}