New J2K: Fix if statement printing with empty then body

This commit is contained in:
Ilya Kirillov
2018-12-03 21:18:46 +03:00
committed by Ilya Kirillov
parent b21c52aecd
commit 77eb9b1b37
4 changed files with 153 additions and 149 deletions
+12 -12
View File
@@ -1,16 +1,16 @@
//file
public class C {
public static void main(String[] args) {
switch (args.length) {
case 1: {
int a = 1;
System.out.print("1");
}
public class C {
public static void main(String[] args) {
switch (args.length) {
case 1: {
int a = 1;
System.out.print("1");
}
case 2: {
int a = 2;
System.out.print("2");
case 2: {
int a = 2;
System.out.print("2");
}
}
}
}
}
}