mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
7 lines
207 B
Java
7 lines
207 B
Java
class Test {
|
|
void test(boolean b, Object o1, Object o2) {
|
|
if (!((b ? o1 : o2) instanceof String <caret>s)) return;
|
|
System.out.println(s.isEmpty());
|
|
System.out.println(s.trim().isEmpty());
|
|
}
|
|
} |