mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
13 lines
227 B
Java
13 lines
227 B
Java
class Temp {
|
|
public boolean flag;
|
|
|
|
void test(int <warning descr="Parameter can be converted to a local variable">p</warning>) {
|
|
if (flag) {
|
|
p = 1;
|
|
}
|
|
else {
|
|
p = 2;
|
|
}
|
|
System.out.print(p);
|
|
}
|
|
} |