mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
15 lines
319 B
Java
15 lines
319 B
Java
// "Move condition to loop" "false"
|
|
class Main {
|
|
private int variableWithSameName = 1;
|
|
public static void main(String[] args) {
|
|
int i = 1;
|
|
while<caret>(true) {
|
|
if (i < 100) {
|
|
break;
|
|
} else {
|
|
int variableWithSameName = -100;
|
|
}
|
|
i = i + variableWithSameName;
|
|
}
|
|
}
|
|
} |