Cleaned up some interface references
This commit is contained in:
committed by
Michael Minella
parent
184e8990c7
commit
1b9d477386
@@ -3,15 +3,13 @@ package org.springframework.batch.core.configuration.xml;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.batch.item.ExecutionContext;
|
||||
import org.springframework.batch.item.ItemReader;
|
||||
import org.springframework.batch.item.ItemStream;
|
||||
import org.springframework.batch.item.ItemStreamException;
|
||||
import org.springframework.batch.item.ItemStreamReader;
|
||||
import org.springframework.batch.item.ParseException;
|
||||
import org.springframework.batch.item.UnexpectedInputException;
|
||||
|
||||
public class TestReader extends AbstractTestComponent implements ItemReader<String>, ItemStream {
|
||||
public class TestReader extends AbstractTestComponent implements ItemStreamReader<String> {
|
||||
|
||||
private boolean opened = false;
|
||||
|
||||
|
||||
@@ -3,14 +3,13 @@ package org.springframework.batch.core.partition;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.springframework.batch.item.ExecutionContext;
|
||||
import org.springframework.batch.item.ItemReader;
|
||||
import org.springframework.batch.item.ItemStream;
|
||||
import org.springframework.batch.item.ItemStreamException;
|
||||
import org.springframework.batch.item.ItemStreamReader;
|
||||
|
||||
/**
|
||||
* {@link ItemReader} with hard-coded input data.
|
||||
* {@link ItemStreamReader} with hard-coded input data.
|
||||
*/
|
||||
public class ExampleItemReader implements ItemReader<String>, ItemStream {
|
||||
public class ExampleItemReader implements ItemStreamReader<String> {
|
||||
|
||||
private Log logger = LogFactory.getLog(getClass());
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ import org.springframework.batch.item.ItemStream;
|
||||
import org.springframework.batch.item.ItemStreamException;
|
||||
import org.springframework.batch.item.ItemStreamSupport;
|
||||
import org.springframework.batch.item.ItemWriter;
|
||||
import org.springframework.batch.item.support.AbstractItemStreamItemReader;
|
||||
import org.springframework.batch.item.support.ListItemReader;
|
||||
import org.springframework.batch.repeat.RepeatStatus;
|
||||
import org.springframework.batch.repeat.policy.DefaultResultCompletionPolicy;
|
||||
@@ -919,8 +920,7 @@ public class TaskletStepTests {
|
||||
}
|
||||
}
|
||||
|
||||
private class MockRestartableItemReader extends ItemStreamSupport implements ItemReader<String>,
|
||||
StepExecutionListener {
|
||||
private class MockRestartableItemReader extends AbstractItemStreamItemReader<String> implements StepExecutionListener {
|
||||
|
||||
private boolean getExecutionAttributesCalled = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user