mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
18 lines
306 B
Java
18 lines
306 B
Java
// "Move condition to loop" "false"
|
|
class Main {
|
|
private static int getI() {
|
|
return 0;
|
|
}
|
|
|
|
public static void test3() {
|
|
int i = getI();
|
|
do {
|
|
System.out.println(1);
|
|
if (i == 1) {
|
|
break;
|
|
}else{
|
|
System.out.println(1);
|
|
}
|
|
} while<caret> (true);
|
|
}
|
|
} |