From 080f1a83182f66c262a2ff3303fc355c269dbe8a Mon Sep 17 00:00:00 2001 From: Marten Deinum Date: Fri, 14 Nov 2014 13:54:59 +0100 Subject: [PATCH] polish Remove javadoc reference to JExcelAPI. Removed unused private method. --- .../batch/item/excel/AbstractExcelItemReader.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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);