preserve comments: merge sequential ifs

This commit is contained in:
Anna.Kozlova
2017-11-29 11:57:33 +01:00
parent 64364640a9
commit 7bccf6ebb2
4 changed files with 66 additions and 39 deletions

View File

@@ -0,0 +1,11 @@
// "Merge sequential 'if's" "true"
class Test {
public static void main(String[] args) {
//c2
if (args.length == 1 || args.length == 2) {
return; // c1
}
System.out.println();
}
}