mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
11 lines
277 B
Java
11 lines
277 B
Java
// "Move condition to loop" "true-preview"
|
|
class Main {
|
|
private int variableWithSameName = 1;
|
|
public static void main(String[] args) {
|
|
int i = 1;
|
|
while (i < 100) {
|
|
int variableWithAnotherName = -100;
|
|
i = i + variableWithSameName;
|
|
}
|
|
}
|
|
} |