BATCH-365: ItemStream#Update and ItemStream#close now accept an ExecutionContext as an argument. I removed the local ExecutionContexts in the readers and readers, and had them use the passed in ones instead.

This commit is contained in:
lucasward
2008-02-26 21:22:59 +00:00
parent ed2bbf96e6
commit a582aa0229
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ public abstract class AbstractStaxEventReaderItemReaderTests extends TestCase {
}
protected void tearDown() throws Exception {
source.close();
source.close(null);
}
public void setResource(Resource resource) {

View File

@@ -43,7 +43,7 @@ public abstract class AbstractStaxEventWriterItemWriterTests extends TestCase {
for (Iterator iterator = objects.listIterator(); iterator.hasNext();) {
writer.write(iterator.next());
}
writer.close();
writer.close(null);
XMLUnit.setIgnoreWhitespace(true);
XMLAssert.assertXMLEqual(new FileReader(expected.getFile()), new FileReader(resource.getFile()));