OPEN - issue BATCH-789: Remove mark/reset from ItemReader

Deprecate methods
This commit is contained in:
dsyer
2008-08-20 12:32:59 +00:00
parent a49d0531da
commit dbc24626f3
7 changed files with 4 additions and 12 deletions

View File

@@ -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();

View File

@@ -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;