From 94702f7d58ce8314144157ff03bd2572c2f2c82d Mon Sep 17 00:00:00 2001 From: Robert Kasanicky Date: Sun, 23 Oct 2011 11:12:55 +0200 Subject: [PATCH] RESOLVED - BATCH-1800: AbstractItemCountingItemStreamItemReader could implement ItemStreamReader interface instead of ItemStream and ItemReader --- .../item/support/AbstractItemCountingItemStreamItemReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/AbstractItemCountingItemStreamItemReader.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/AbstractItemCountingItemStreamItemReader.java index a8fec29d2..592c5256c 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/AbstractItemCountingItemStreamItemReader.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/AbstractItemCountingItemStreamItemReader.java @@ -20,6 +20,7 @@ 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; import org.springframework.batch.item.util.ExecutionContextUserSupport; @@ -34,7 +35,7 @@ import org.springframework.util.Assert; * * @author Robert Kasanicky */ -public abstract class AbstractItemCountingItemStreamItemReader implements ItemReader, ItemStream { +public abstract class AbstractItemCountingItemStreamItemReader implements ItemStreamReader { private static final String READ_COUNT = "read.count";