Moved setting of flag to after the file has been succesfully opened.
This commit is contained in:
committed by
Michael Minella
parent
956af71f2e
commit
d799fdd561
@@ -106,9 +106,9 @@ public abstract class AbstractExcelItemReader<T> extends AbstractItemCountingIte
|
||||
return;
|
||||
}
|
||||
|
||||
this.noInput = false;
|
||||
this.openExcelFile(this.resource);
|
||||
this.openSheet();
|
||||
this.noInput = false;
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Opened workbook ["+this.resource.getFilename()+"] with "+this.getNumberOfSheets()+" sheets.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user