mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 06:51:01 +07:00
12 lines
218 B
Java
12 lines
218 B
Java
// "Replace '(String)o' with 's'" "false"
|
|
|
|
class C {
|
|
void foo(Object o) {
|
|
if (o instanceof String) {
|
|
String s = (String)o;
|
|
}
|
|
if (o instanceof String) {
|
|
String t = (Stri<caret>ng)o;
|
|
}
|
|
}
|
|
} |