src/org/tiefaces/components/websheet/configuration/ConfigurationHandler.java
private final void checkAndRepairLastRow(final Sheet sheet) {
		// repair last row if it's inserted in the configuration generation
		Row lastrow = sheet.getRow(sheet.getLastRowNum());
		// if it's lastrow and all the cells are blank. then remove the lastrow.
		if (lastrow != null) {
			for (Cell cell : lastrow) {
				if ((cell.getCellTypeEnum() != CellType._NONE) && (cell.getCellTypeEnum() != CellType.BLANK)) {
					return;
				}
			}
			sheet.removeRow(lastrow);
		}

	}
private final void checkAndRepairLastRow(final Sheet sheet) {
		// repair last row if it's inserted in the configuration generation
		Row lastrow = sheet.getRow(sheet.getLastRowNum());
		// if it's lastrow and all the cells are blank. then remove the lastrow.
		if (lastrow != null) {
			for (Cell cell : lastrow) {
				if ((cell.getCellTypeEnum() != CellType._NONE) && (cell.getCellTypeEnum() != CellType.BLANK)) {
					return;
				}
			}
			sheet.removeRow(lastrow);
		}

	}
private final void checkAndRepairLastRow ( final Sheet sheet ) { // repair last row if it's inserted in the configuration generation
 Row lastrow = sheet . getRow ( sheet . getLastRowNum ( ) ) ; // if it's lastrow and all the cells are blank. then remove the lastrow.
 if ( lastrow != null ) { for ( Cell cell : lastrow ) { if ( ( cell . getCellTypeEnum ( ) != CellType . _NONE ) && ( cell . getCellTypeEnum ( ) != CellType . BLANK ) ) { return ; } } sheet . removeRow ( lastrow ) ; } }
check and repair the sheet's lastrow. If the row is blank then remove it.

@param sheet
the sheet
check and repair the sheet s lastrow . If the row is blank then remove it .