adjust class config test
This commit is contained in:
@@ -8,7 +8,7 @@ import java.util.List;
|
|||||||
public class ClassConfigTest implements Config {
|
public class ClassConfigTest implements Config {
|
||||||
|
|
||||||
public List<TestClass> l = Arrays.asList(
|
public List<TestClass> l = Arrays.asList(
|
||||||
new TestClass()
|
new TestClass(true, 1, "hello")
|
||||||
);
|
);
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -17,7 +17,14 @@ public class ClassConfigTest implements Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static class TestClass {
|
public static class TestClass {
|
||||||
public boolean a = true;
|
public final boolean a;
|
||||||
public int b = 1;
|
public final int b;
|
||||||
|
public String c;
|
||||||
|
|
||||||
|
public TestClass(boolean a, int b, String c) {
|
||||||
|
this.a = a;
|
||||||
|
this.b = b;
|
||||||
|
this.c = c;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user