Commit e45cd453 by chaitali borole Committed by nixonrodrigues

ATLAS-4001 : Update poi jar version to 4.1.1

parent 8f9ef446
......@@ -719,8 +719,8 @@
<!--Apache poi and Open csv-->
<opencsv.version>5.0</opencsv.version>
<poi.version>3.17</poi.version>
<poi-ooxml.version>3.17</poi-ooxml.version>
<poi.version>4.1.1</poi.version>
<poi-ooxml.version>4.1.1</poi-ooxml.version>
<javax-inject.version>1</javax-inject.version>
<jettison.version>1.3.7</jettison.version>
......
......@@ -26,6 +26,7 @@ import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellType;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
......@@ -127,7 +128,7 @@ public class FileUtils {
for (int c = row.getFirstCellNum(); c < row.getLastCellNum(); c++) {
Cell cell = row.getCell(c);
if (cell != null && cell.getCellType() != Cell.CELL_TYPE_BLANK) {
if (cell != null && cell.getCellType() != CellType.BLANK) {
return false;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment