mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: 4b785ae09e7e5adc579a8ac37e3bc671ac559517
12 lines
250 B
Java
12 lines
250 B
Java
// "Replace '(String) obj' with 's'" "true"
|
|
|
|
class X {
|
|
void test(Object obj) {
|
|
for (int i = 0; i < 10; i++) {
|
|
String s = (String) obj;
|
|
System.out.println(s);
|
|
System.out.println((String<caret>) obj);
|
|
s = null;
|
|
}
|
|
}
|
|
} |