Skip to content

Commit

Permalink
Indent correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-tremblay committed Jun 11, 2017
1 parent 4427e26 commit 7bc69b3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions main/src/test/java/org/objenesis/ExternalizableTest.java
Expand Up @@ -26,24 +26,24 @@
*/
public class ExternalizableTest {

public static class A extends ArrayList<String> implements Externalizable {
public static class A extends ArrayList<String> implements Externalizable {

public A() {
}
public A() {
}

public void writeExternal(ObjectOutput out) throws IOException {
public void writeExternal(ObjectOutput out) throws IOException {

}
}

public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {

}
}
}
}

@Test
public void test() {
A a = ObjenesisHelper.newSerializableInstance(A.class);
// This call should work because the ArrayList constructor as been called. This is required by A implementing Externalizable
a.add("Test");
}
@Test
public void test() {
A a = ObjenesisHelper.newSerializableInstance(A.class);
// This call should work because the ArrayList constructor as been called. This is required by A implementing Externalizable
a.add("Test");
}
}

0 comments on commit 7bc69b3

Please sign in to comment.