mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
test++
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class TryFinally {
|
||||
int method() {
|
||||
String s = "abcd";
|
||||
|
||||
<selection>StringBuffer buffer = new StringBuffer();
|
||||
try {
|
||||
buffer.append(s);
|
||||
return buffer.length();
|
||||
} finally {
|
||||
buffer.clear();
|
||||
}</selection>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user