mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
10 lines
212 B
Java
10 lines
212 B
Java
// "Replace 's' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (!(obj instanceof String)) {
|
|
System.out.println("not");
|
|
} else {
|
|
String <caret>s = (String)obj;
|
|
}
|
|
}
|
|
} |