mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
add type cast as fix for unresolved calls (IDEA-185569)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Cast qualifier to 'java.lang.String'" "true"
|
||||
class Test {
|
||||
void m(Object o) {
|
||||
if (o instanceof String) {
|
||||
System.out.println(((String) o).length());
|
||||
}
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Cast qualifier to 'java.lang.String'" "true"
|
||||
class Test {
|
||||
void m(Object o) {
|
||||
if (o instanceof String) {
|
||||
System.out.println(<caret>o.length());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user