mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-01 01:11:31 +07:00
GitOrigin-RevId: acdfa3cd6fd701f6a61ca0a461d179b1bda107c7
19 lines
436 B
Java
19 lines
436 B
Java
class Test {
|
|
public static void test(String[] args) {
|
|
for (String <warning descr="The value of foreach iteration parameter 'arg' is never used">arg</warning> : args) {
|
|
arg = "test";
|
|
System.out.println(arg);
|
|
}
|
|
for (String ignored : args) {
|
|
}
|
|
|
|
for (String arg : args) {
|
|
if (args.length == 1) {
|
|
System.out.println(arg);
|
|
}
|
|
arg = "test";
|
|
System.out.println(arg);
|
|
}
|
|
|
|
}
|
|
} |