IN PROGRESS - BATCH-709: Change all collections to use generics

This commit is contained in:
robokaso
2008-07-16 07:52:43 +00:00
parent 45ec739c3d
commit 36241225ba
4 changed files with 41 additions and 33 deletions

View File

@@ -128,7 +128,7 @@ public class DrivingQueryItemReaderTests extends TestCase {
* @throws Exception
*/
public void testRestoreFromEmptyData() throws Exception {
ExecutionContext streamContext = new ExecutionContext(new Properties());
ExecutionContext streamContext = new ExecutionContext(new ExecutionContext());
getAsItemStream(itemReader).open(streamContext);
@@ -201,11 +201,9 @@ public class DrivingQueryItemReaderTests extends TestCase {
static final String RESTART_KEY = "restart.keys";
static {
Properties props = new Properties();
// restart data properties cannot be empty.
props.setProperty("", "");
streamContext = new ExecutionContext(props);
streamContext = new ExecutionContext();
streamContext.put("", "");
}
public MockKeyGenerator() {