mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
8 lines
174 B
Java
8 lines
174 B
Java
class A {
|
|
void test(Object obj) {
|
|
if (obj instanceof String temp) {
|
|
String s = temp.trim();
|
|
System.out.println("Found");
|
|
}
|
|
}
|
|
} |