reformat code, resolve compiler warnings

This commit is contained in:
Skylot
2013-09-24 21:59:32 +04:00
parent a99e0e9618
commit 9bf7270bf3
41 changed files with 121 additions and 84 deletions
@@ -51,6 +51,7 @@ public class TestInner extends AbstractTest {
}.run();
}
@SuppressWarnings("serial")
public static class MyException extends Exception {
public MyException(String str, Exception e) {
super("msg:" + str, e);
@@ -2,7 +2,7 @@ package jadx.samples;
public class TestSwitch extends AbstractTest {
public static final int test1(int i) {
public static int test1(int i) {
int k = i * 4;
switch (k) {
@@ -19,7 +19,7 @@ public class TestSwitch extends AbstractTest {
return i;
}
public static final int test2(int i) {
public static int test2(int i) {
int k = i;
switch (k) {
case 1:
@@ -39,7 +39,7 @@ public class TestSwitch extends AbstractTest {
return -i;
}
public static final int test3(int i, int j) {
public static int test3(int i, int j) {
int k = i;
switch (k) {
case 1:
@@ -53,7 +53,7 @@ public class TestSwitch extends AbstractTest {
return -1;
}
public static final int test4(int i) {
public static int test4(int i) {
int k = i;
switch (k) {
case 1:
@@ -64,7 +64,8 @@ public class TestSwitch extends AbstractTest {
return -1;
}
public static final int test5(int i, int b) {
@SuppressWarnings("fallthrough")
public static int test5(int i, int b) {
int k = i;
switch (k) {
case 1: