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