Bugfix in parseSheet
This commit is contained in:
@@ -72,10 +72,8 @@ public class FlowableExcelParser {
|
||||
ArrayList<ArrayList<String>> sheet = new ArrayList<>();
|
||||
// Count columns of first row
|
||||
int maxCols = getMaxCols(workSheet.getRow(0));
|
||||
int lastRowNum = workSheet.getLastRowNum();
|
||||
DataFormatter dataFormatter = new DataFormatter();
|
||||
for (int rowIndex = 0; rowIndex < lastRowNum; rowIndex++) {
|
||||
Row workRow = workSheet.getRow(rowIndex);
|
||||
for (Row workRow : workSheet) {
|
||||
ArrayList<String> row = parseRow(workRow, maxCols, formulaEvaluator, dataFormatter);
|
||||
if (row == null) {
|
||||
// Take all rows until the first empty row
|
||||
|
||||
Reference in New Issue
Block a user