mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-08 20:00:46 +07:00
GitOrigin-RevId: 0ee29991b00d4ac8341c031a4a111b23bb44b800
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);
|
|
}
|
|
} |