formatting...
diff --git a/src/test/java/org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java b/src/test/java/org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java
index 07dcc54..82f29ee 100644
--- a/src/test/java/org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java
+++ b/src/test/java/org/yaml/snakeyaml/issues/issue318/ContextClassLoaderTest.java
@@ -76,19 +76,16 @@
@Before
public void before() throws MalformedURLException {
Properties classpath = new Properties();
- InputStream cpProperties = getClass()
- .getResourceAsStream("classpath.properties");
+ InputStream cpProperties = getClass().getResourceAsStream("classpath.properties");
try {
classpath.load(cpProperties);
} catch (IOException e2) {
fail(e2.getLocalizedMessage());
}
- File runtimeClassesDir = new File(
- classpath.getProperty("runtime_classes_dir"));
+ File runtimeClassesDir = new File(classpath.getProperty("runtime_classes_dir"));
- yamlCL = new URLClassLoader(
- new URL[] { runtimeClassesDir.toURI().toURL() }, null);
+ yamlCL = new URLClassLoader(new URL[] { runtimeClassesDir.toURI().toURL() }, null);
}
@After
@@ -116,10 +113,9 @@
}
@Test
- public void domainInDifferentConstructor()
- throws ClassNotFoundException, InstantiationException,
- IllegalAccessException, NoSuchMethodException, SecurityException,
- IllegalArgumentException, InvocationTargetException {
+ public void domainInDifferentConstructor() throws ClassNotFoundException,
+ InstantiationException, IllegalAccessException, NoSuchMethodException,
+ SecurityException, IllegalArgumentException, InvocationTargetException {
Class<?> yamlClass = yamlCL.loadClass(Yaml.class.getName());
@@ -128,12 +124,10 @@
Object yaml = yamlClass.newInstance();
- Method dumpMethod = yaml.getClass().getMethod("dump",
- new Class<?>[] { Object.class });
+ Method dumpMethod = yaml.getClass().getMethod("dump", new Class<?>[] { Object.class });
String dump = dumpMethod.invoke(yaml, bean).toString();
- Method loadMethod = yaml.getClass().getMethod("load",
- new Class<?>[] { String.class });
+ Method loadMethod = yaml.getClass().getMethod("load", new Class<?>[] { String.class });
DomainBean object = (DomainBean) loadMethod.invoke(yaml, dump);
assertEquals(bean, object);