preserve comments in invert if (IDEA-182500)

This commit is contained in:
Anna.Kozlova
2017-11-22 19:42:58 +01:00
parent b34e77020a
commit 0bd1694079
3 changed files with 26 additions and 1 deletions
@@ -0,0 +1,13 @@
// "Invert 'if' condition" "true"
class A {
void f(){
while (true) {
if (false) {
System.out.println();
}
else {
//comment
}
}
}
}