mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 19:02:04 +07:00
GitOrigin-RevId: c8f8ebc567da14c2bb17b4b61234f9ca80fcf664
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");
|
|
}
|
|
}
|
|
} |