java-decompiler: post-import cleanup (test sources reformatted)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user