Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/conditionalBreakInInfiniteLoop/afterToDoWhileComments.java

10 lines
204 B
Java

// "Move condition to loop" "true"
class Main {
public static void main(String[] args) {
int i = 0;
// negative i is invalid - stop here
do {
i++;
} while (i >= 0);
}
}