fixed bug #7810 correção modificação massiva de preços

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@58911 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2016-08-09 18:45:10 +00:00
parent a25495827c
commit d9c61275d6
1 changed files with 3 additions and 3 deletions

View File

@ -156,11 +156,11 @@ public class ModificacionMasivaTarifasUploadController extends MyGenericForwardC
Sheet sheet = wb.getSheetAt(k);
int rows = sheet.getPhysicalNumberOfRows();
for (int r = 0; r < rows; r++) {
for (int r = 0; r < rows ; r++) {
Row row = sheet.getRow(r);
if (row == null || (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && (row.getCell(0).getStringCellValue().startsWith("Linha") || row.getCell(0).getStringCellValue().isEmpty()))) {
if (row == null || row.getCell(0) == null || (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && (row.getCell(0).getStringCellValue().startsWith("Linha") || row.getCell(0).getStringCellValue().isEmpty()))) {
continue;
}