preserve comments: invert if (IDEA-205835)

This commit is contained in:
Anna.Kozlova
2019-01-22 18:40:26 +01:00
parent c518058bfc
commit cc6b79a309
6 changed files with 44 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ class T {
void f(boolean b) {
if (b)
throw new RuntimeException("When true");
//c1
System.out.println("Otherwise");
}
}

View File

@@ -6,6 +6,6 @@ class T {
throw new RuntimeException("When true");
<caret>else {
System.out.println("Otherwise");
}
}//c1
}
}