style: enforce strict style rules with editorconfig (PR #510)

This commit is contained in:
skylot
2019-03-26 14:21:47 +03:00
committed by GitHub
parent 36ee994eb8
commit aa8a7c03c3
15 changed files with 550 additions and 550 deletions
@@ -5,14 +5,14 @@ public class TestInitializers extends AbstractTest {
private static String a;
private static int counter;
private A c_a;
public static class A {
public static String a;
static {
a = "a1";
}
public boolean z() {
return true;
}
@@ -29,11 +29,11 @@ public class TestInitializers extends AbstractTest {
b = 1;
}
}
public B(int _b) {
b = _b;
}
public void setB(int _b) {
b = _b;
}
@@ -41,11 +41,11 @@ public class TestInitializers extends AbstractTest {
public int getB() {
return b;
}
public int getBBB() {
return bbb;
}
{
bbb = 123;
}
@@ -55,7 +55,7 @@ public class TestInitializers extends AbstractTest {
a = "a0";
counter = 0;
}
{
c_a = new A();
}
@@ -90,15 +90,14 @@ public class TestInitializers extends AbstractTest {
assertTrue((new B()).getB() == -1);
assertTrue(counter == 1);
B b3 = new B(3);
assertTrue((b3.getB() == 3) && (b3.getBBB() == 123));
return true;
}
public static void main(String[] args) throws Exception {
new TestInitializers().testRun();
}
}
@@ -5,11 +5,11 @@ public class TestInner3 extends AbstractTest {
private String i0;
public class A {
protected String a;
public A() {
a="";
a = "";
}
public String a() {
@@ -39,7 +39,7 @@ public class TestInner3 extends AbstractTest {
public String i() {
String result = TestInner3.this.i0 + I0.this.i0 + I0.this.i1 + i0 + i1 + i2;
A a = new A() {
public String a() {
@@ -82,5 +82,4 @@ public class TestInner3 extends AbstractTest {
public static void main(String[] args) throws Exception {
new TestInner2().testRun();
}
}