mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
8 lines
186 B
Java
8 lines
186 B
Java
class A {
|
|
void test(Object obj) {
|
|
boolean temp = obj instanceof String s && s.trim().isEmpty();
|
|
if (temp) {
|
|
System.out.println("Found");
|
|
}
|
|
}
|
|
} |