OPEN - issue BATCH-789: Remove mark/reset from ItemReader
Deprecate methods
This commit is contained in:
@@ -126,7 +126,6 @@ public class ItemOrientedStepHandler<T, S> implements StepHandler {
|
||||
|
||||
/**
|
||||
* @throws MarkFailedException
|
||||
* @see org.springframework.batch.item.ItemReader#mark()
|
||||
*/
|
||||
public void mark() throws MarkFailedException {
|
||||
itemReader.mark();
|
||||
@@ -134,7 +133,6 @@ public class ItemOrientedStepHandler<T, S> implements StepHandler {
|
||||
|
||||
/**
|
||||
* @throws ResetFailedException
|
||||
* @see org.springframework.batch.item.ItemReader#reset()
|
||||
*/
|
||||
public void reset() throws ResetFailedException {
|
||||
itemReader.reset();
|
||||
|
||||
@@ -48,14 +48,12 @@ public interface StepHandler {
|
||||
/**
|
||||
* Implementations should delegate to an {@link ItemReader}.
|
||||
*
|
||||
* @see org.springframework.batch.item.ItemReader#mark()
|
||||
*/
|
||||
void mark() throws MarkFailedException;
|
||||
|
||||
/**
|
||||
* Implementations should delegate to an {@link ItemReader}.
|
||||
*
|
||||
* @see org.springframework.batch.item.ItemReader#reset()
|
||||
*/
|
||||
void reset() throws ResetFailedException;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user