@@ -181,7 +181,7 @@ private void processSheet( Sheet sheet,
181
181
mergedColStart = cell .getColumnIndex ();
182
182
}
183
183
184
- switch ( cell .getCellTypeEnum () ) {
184
+ switch ( cell .getCellType () ) {
185
185
case BOOLEAN :
186
186
newCell (listeners ,
187
187
i ,
@@ -257,7 +257,7 @@ private boolean isGeneralFormat(Cell cell) {
257
257
}
258
258
259
259
private String getFormulaValue ( DataFormatter formatter , FormulaEvaluator formulaEvaluator , Cell cell ) {
260
- if ( formulaEvaluator .evaluate ( cell ).getCellTypeEnum () == CellType .BOOLEAN ) {
260
+ if ( formulaEvaluator .evaluate ( cell ).getCellType () == CellType .BOOLEAN ) {
261
261
return cell .getBooleanCellValue () ? "true" : "false" ;
262
262
}
263
263
return formatter .formatCellValue (cell , formulaEvaluator );
@@ -266,7 +266,7 @@ private String getFormulaValue( DataFormatter formatter, FormulaEvaluator formul
266
266
private String tryToReadCachedValue ( Cell cell ) {
267
267
DataFormatter formatter = new DataFormatter ( Locale .ENGLISH );
268
268
String cachedValue ;
269
- switch ( cell .getCachedFormulaResultTypeEnum () ) {
269
+ switch ( cell .getCachedFormulaResultType () ) {
270
270
case NUMERIC :
271
271
double num = cell .getNumericCellValue ();
272
272
if ( num - Math .round ( num ) != 0 ) {
@@ -296,7 +296,7 @@ private String tryToReadCachedValue( Cell cell ) {
296
296
}
297
297
298
298
private String getCellValue ( final CellValue cv ) {
299
- switch ( cv .getCellTypeEnum () ) {
299
+ switch ( cv .getCellType () ) {
300
300
case BOOLEAN :
301
301
return Boolean .toString ( cv .getBooleanValue () );
302
302
case NUMERIC :
0 commit comments