[java] BlockJoinLinesHandler: handle more tricky cases from IDEA-263507

GitOrigin-RevId: 1661c82421ea73a3a18c349330889c309769e053
This commit is contained in:
Tagir Valeev
2021-03-09 16:45:54 +07:00
committed by intellij-monorepo-bot
parent ca0ca6e53b
commit b4c90cfd11
4 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
class C {
private static void fn(boolean condA, boolean condB) {
if (condA) {<caret>
for(int i=0; i<10; i++)
if (condB) {
System.out.println("condA && condB");
}
} else {
System.out.println("!condA");
}
}
}