core: don't add redundant brackets

This commit is contained in:
Skylot
2013-09-12 23:29:58 +04:00
parent d7ce0245f6
commit cde8d72510
5 changed files with 83 additions and 48 deletions
@@ -36,4 +36,8 @@ public abstract class AbstractTest {
throw new AssertionError(a1 + " != " + a2);
}
}
public static void fail() {
throw new AssertionError();
}
}
@@ -22,13 +22,11 @@ public class TestTypeResolver2 extends AbstractTest {
}
private static void doPrint(String s1) {
// incorrect call
assertTrue(false);
fail();
}
private static void doPrint(Integer s1) {
// incorrect call
assertTrue(false);
fail();
}
private static void doPrint(Object s1) {