RESOLVED - BATCH-561: ItemReaderAdapter still implements unnecessary close method

removed the redundant close method + added javadoc to no-op mark and reset
This commit is contained in:
robokaso
2008-04-07 08:07:27 +00:00
parent 45b3b0e6c3
commit 0eac8f0c6f

View File

@@ -16,9 +16,7 @@
package org.springframework.batch.item.adapter;
import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.item.ItemReader;
import org.springframework.batch.item.ItemStreamException;
import org.springframework.batch.item.MarkFailedException;
import org.springframework.batch.item.ResetFailedException;
@@ -38,17 +36,14 @@ public class ItemReaderAdapter extends AbstractMethodInvokingDelegator implement
}
/**
* Do nothing.
*
* @see org.springframework.batch.item.ItemReader#close(ExecutionContext)
* No-op.
*/
public void close() throws ItemStreamException {
}
public void mark() throws MarkFailedException {
}
/**
* No-op.
*/
public void reset() throws ResetFailedException {
}
}