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:23:08 +00:00
parent a582aa0229
commit 535fd28f91
6 changed files with 10 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ public class FlatFileCustomerCreditWriterTests extends TestCase {
public void testClose() throws Exception{
//set-up outputSource mock
output.close();
output.close(null);
outputControl.replay();
//call tested method

View File

@@ -54,7 +54,7 @@ public class StagingItemReaderTests extends AbstractTransactionalDataSourceSprin
}
protected void onTearDownAfterTransaction() throws Exception {
provider.close();
provider.close(null);
getJdbcTemplate().update("DELETE FROM BATCH_STAGING");
}