mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
test++
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
class Foo {
|
||||
private void bar() {
|
||||
String text = null;
|
||||
try {
|
||||
text = newMethod();
|
||||
}
|
||||
catch(Exception e) {
|
||||
System.out.println(text);
|
||||
}
|
||||
}
|
||||
|
||||
private String newMethod() {
|
||||
String text;
|
||||
text = getString();
|
||||
return text;
|
||||
}
|
||||
|
||||
private void getString() {
|
||||
return "hello";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user