mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-12 18:18:59 +00:00
23 lines
311 B
Java
23 lines
311 B
Java
class CleanupName {
|
|
void test() {
|
|
Object o = "Hello World!";
|
|
try {
|
|
System.out.println(o);
|
|
} finally {
|
|
if (o != null) {
|
|
o.toString();
|
|
}
|
|
}
|
|
}
|
|
void test2() {
|
|
Object o = "Hello World too!";
|
|
try {
|
|
System.out.println(o);
|
|
} finally {
|
|
if (o != null) {
|
|
o.toString();
|
|
}
|
|
}
|
|
}
|
|
}
|