IDEA-179557 Merge nested if's removes comment

This commit is contained in:
Tagir Valeev
2017-09-26 16:58:46 +07:00
parent 24ffaeffb0
commit 4e24c72077
6 changed files with 107 additions and 31 deletions
@@ -0,0 +1,11 @@
// "Merge nested 'if's" "true"
class Test {
public static void main(String[] args) {
/*comment1*/
// comment3
if (args.length > 0 && args[/*comment2*/0].equals("foo")) {
System.out.println("oops");
}
}
}