downgrade POI to 4.0.1 to avoid bug
https://bz.apache.org/bugzilla/show_bug.cgi?id=63845
This commit is contained in:
@ -34,6 +34,7 @@ import org.apache.poi.ss.formula.ptg.Ptg;
|
||||
import org.apache.poi.ss.formula.ptg.RefPtgBase;
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.CellStyle;
|
||||
import org.apache.poi.ss.usermodel.CellType;
|
||||
import org.apache.poi.ss.usermodel.DataValidation;
|
||||
import org.apache.poi.ss.usermodel.DataValidationHelper;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
@ -183,7 +184,7 @@ public class WorkbookApp {
|
||||
newCell.setCellValue(oldCell.getNumericCellValue());
|
||||
break;
|
||||
case BLANK:
|
||||
newCell.setBlank();
|
||||
newCell.setCellType(CellType.BLANK);
|
||||
break;
|
||||
case BOOLEAN:
|
||||
newCell.setCellValue(oldCell.getBooleanCellValue());
|
||||
|
||||
Reference in New Issue
Block a user