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:
@@ -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) {
|
||||
|
||||
@@ -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()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user