mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
preserve comments: merge sequential ifs
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// "Merge sequential 'if's" "true"
|
||||
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
i<caret>f (args.length == 1) {
|
||||
return; // c1
|
||||
}
|
||||
else if (args.length == 2) {
|
||||
return; //c2
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user