mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-179557 Merge nested if's removes comment
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Merge nested 'if's" "true"
|
||||
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
i<caret>f(args.length > 0/*comment1*/)
|
||||
// comment3
|
||||
if(args[/*comment2*/0].equals("foo")) {
|
||||
System.out.println("oops");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user