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

This commit is contained in:
robokaso
2008-07-16 08:33:51 +00:00
parent e019e98df9
commit c7ad3b202c
6 changed files with 46 additions and 45 deletions

View File

@@ -25,7 +25,6 @@ import org.apache.commons.lang.SerializationUtils;
import org.springframework.batch.core.step.StepSupport;
import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.repeat.ExitStatus;
import org.springframework.batch.support.PropertiesConverter;
/**
* @author Dave Syer
@@ -37,11 +36,14 @@ public class StepExecutionTests extends TestCase {
private StepExecution blankExecution = newStepExecution(new StepSupport("blank"), null);
private ExecutionContext foobarEc = new ExecutionContext() {
{
put("foo", "bar");
}
};
private ExecutionContext foobarEc = new ExecutionContext();
@Override
protected void setUp() throws Exception {
foobarEc.put("foo", "bar");
}
public void testStepExecution() {
assertNull(new StepExecution("step", null).getId());