Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/collapseIntoLoop/afterCaretWithStatementWithErrorsInTheEnd.java
Georgii Ustinov 29caccb845 [Java. Intention Actions] Fix invalid handling of statements with missing semicolon in Collapse into loop action
IDEA-357036

GitOrigin-RevId: 12972fe04b845c930f7aed33cdcd324d64d6c0c4
2024-10-23 12:16:29 +00:00

11 lines
191 B
Java

// "Collapse into loop" "true-preview"
class A {
String getPath() {
Integer i = 0;
for (int j = 1; j < 4; j++) {
i = j;
}
i = ;
return i.toString()
}
}