diff --git a/spring-batch-excel/src/main/java/org/springframework/batch/item/excel/AbstractExcelItemReader.java b/spring-batch-excel/src/main/java/org/springframework/batch/item/excel/AbstractExcelItemReader.java index 5e8600f..196908d 100644 --- a/spring-batch-excel/src/main/java/org/springframework/batch/item/excel/AbstractExcelItemReader.java +++ b/spring-batch-excel/src/main/java/org/springframework/batch/item/excel/AbstractExcelItemReader.java @@ -29,8 +29,8 @@ import java.io.IOException; import java.io.InputStream; /** - * {@link org.springframework.batch.item.ItemReader} implementation which uses the JExcelApi to read an Excel - * file. It will read the file sheet for sheet and row for row. It is based on + * {@link org.springframework.batch.item.ItemReader} implementation to read an Excel + * file. It will read the file sheet for sheet and row for row. It is loosy based on * the {@link org.springframework.batch.item.file.FlatFileItemReader} * * @param the type @@ -114,14 +114,6 @@ public abstract class AbstractExcelItemReader extends AbstractItemCountingIte } } - private String[] readRow(final Sheet sheet) { - this.currentRow++; - if (this.currentRow < sheet.getNumberOfRows()) { - return sheet.getRow(this.currentRow); - } - return null; - } - private void openSheet() { final Sheet sheet = this.getSheet(this.currentSheet); this.rs =rowSetFactory.create(sheet);