mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: cf9655e7988dc4187a737cb4d499a1bd9cf3d45c
9 lines
177 B
Java
9 lines
177 B
Java
// "Replace 's' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof String s)) {
|
|
System.out.println("not");
|
|
} else {
|
|
}
|
|
}
|
|
} |