added spaces after if and inside the ternary operator

This commit is contained in:
Egor.Ushakov
2017-04-04 17:03:49 +03:00
parent e09e303e71
commit d706718b1b
15 changed files with 44 additions and 44 deletions

View File

@@ -17,9 +17,9 @@ public class TestTryCatchFinally {
}// 36
int foo(int var1) throws Exception {
if(var1 < 1) {// 39
if (var1 < 1) {// 39
throw new RuntimeException();// 40
} else if(var1 < 5) {// 41
} else if (var1 < 5) {// 41
return var1;// 42
} else {
throw new Exception();// 45