mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-28 12:52:51 +07:00
15 lines
208 B
Java
15 lines
208 B
Java
// "Convert to local variable" "true"
|
|
class Temp {
|
|
public boolean flag;
|
|
|
|
void test() {
|
|
<caret>int p;
|
|
if (flag) {
|
|
p = 1;
|
|
}
|
|
else {
|
|
p = 2;
|
|
}
|
|
System.out.print(p);
|
|
}
|
|
} |