mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 13:35:58 +07:00
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
16 lines
354 B
Java
16 lines
354 B
Java
/*
|
|
Value is always true (s instanceof String; line#13)
|
|
An object is already known to be String (s; line#13)
|
|
Type of 's' is known from line #10 ((String)s; line#10)
|
|
*/
|
|
import java.util.List;
|
|
|
|
class Test {
|
|
void test(Object s) {
|
|
System.out.println(((String)s).trim());
|
|
|
|
|
|
if (<selection>s instanceof String</selection>) {
|
|
}
|
|
}
|
|
} |