mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
13 lines
331 B
Java
13 lines
331 B
Java
// "Move condition to loop" "true-preview"
|
|
class Main {
|
|
public static void main(String[] args) {
|
|
boolean isValid = true;
|
|
boolean isEnabled = true;
|
|
int i = 1;
|
|
while<caret>(i % 10 != 0/*7*/) /*8*/ {
|
|
if(isValid/*9*/ &&/*10*/ isEnabled/*1*/)/*2*/ break;/*3*/
|
|
/*4*/
|
|
i =/*5*/ i * 2;/*6*/
|
|
}
|
|
}
|
|
} |