[java] BlockJoinLinesHandler: avoid removing block when there's only comment inside (IDEA-264288)

GitOrigin-RevId: dad4d5ffb573d186463589162adbd2fcd610157d
This commit is contained in:
Tagir Valeev
2021-03-15 08:48:08 +00:00
committed by intellij-monorepo-bot
parent d2628e93a5
commit cb7790bead
4 changed files with 19 additions and 1 deletions
@@ -0,0 +1,9 @@
class C {
private static void fn(boolean cond) {
<caret>if (cond) {
// comment
} else {
}
}
}