java-decompiler: post-import cleanup (test sources reformatted)

This commit is contained in:
Roman Shevchenko
2014-09-01 19:48:39 +04:00
parent e629738a46
commit c0c83126a6
8 changed files with 174 additions and 182 deletions

View File

@@ -17,47 +17,45 @@ package pkg;
public class TestClassLoop {
public static void testSimpleInfinite() {
public static void testSimpleInfinite() {
while(true) {
System.out.println();
while (true) {
System.out.println();
}
}
public static void testFinally() {
boolean a = (Math.random() > 0);
while (true) {
try {
if (!a) {
return;
}
}
finally {
System.out.println("1");
}
}
}
}
public static void testFinally() {
public static void testFinallyContinue() {
boolean a = (Math.random() > 0);
while(true) {
try {
if(!a) {
return;
}
} finally {
System.out.println("1");
}
}
}
boolean a = (Math.random() > 0);
public static void testFinallyContinue() {
for (; ; ) {
try {
System.out.println("1");
}
finally {
if (a) {
System.out.println("3");
continue;
}
}
boolean a = (Math.random() > 0);
for(;;) {
try {
System.out.println("1");
} finally {
if(a) {
System.out.println("3");
continue;
}
}
System.out.println("4");
}
}
System.out.println("4");
}
}
}