Author: deepak Date: Sun Mar 3 10:54:17 2019 New Revision: 1854693 URL: http://svn.apache.org/viewvc?rev=1854693&view=rev Log: Replaced the deprecated CellType::getCellTypeEnum method call with CellType::getCellType (OFBIZ-10757)
Modified: ofbiz/ofbiz-framework/branches/release18.12/applications/product/src/main/java/org/apache/ofbiz/product/spreadsheetimport/ImportProductServices.java Modified: ofbiz/ofbiz-framework/branches/release18.12/applications/product/src/main/java/org/apache/ofbiz/product/spreadsheetimport/ImportProductServices.java URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/applications/product/src/main/java/org/apache/ofbiz/product/spreadsheetimport/ImportProductServices.java?rev=1854693&r1=1854692&r2=1854693&view=diff ============================================================================== --- ofbiz/ofbiz-framework/branches/release18.12/applications/product/src/main/java/org/apache/ofbiz/product/spreadsheetimport/ImportProductServices.java (original) +++ ofbiz/ofbiz-framework/branches/release18.12/applications/product/src/main/java/org/apache/ofbiz/product/spreadsheetimport/ImportProductServices.java Sun Mar 3 10:54:17 2019 @@ -128,7 +128,7 @@ public class ImportProductServices { // read QOH from ninth column HSSFCell cell5 = row.getCell(5); BigDecimal quantityOnHand = BigDecimal.ZERO; - if (cell5 != null && cell5.getCellTypeEnum() == CellType.NUMERIC) { + if (cell5 != null && cell5.getCellType() == CellType.NUMERIC) { quantityOnHand = new BigDecimal(cell5.getNumericCellValue()); }