mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
18 lines
309 B
Java
18 lines
309 B
Java
class Test {
|
|
void foo() {
|
|
final String str = newMethod();
|
|
new Runnable() {
|
|
public void run() {
|
|
System.out.println(str);
|
|
}
|
|
}
|
|
}
|
|
|
|
private String newMethod() {
|
|
final String str = "";
|
|
if (str == "") {
|
|
return;
|
|
}
|
|
return str;
|
|
}
|
|
} |