public static void removeRowsInBody(
			final SheetConfiguration sheetConfig,
			final List<FacesRow> bodyRows, final int rowIndexStart,
			final int rowIndexEnd) {
		int top = sheetConfig.getBodyCellRange().getTopRow();
		if ((rowIndexEnd < rowIndexStart) || (rowIndexStart < top)) {
			return;
		}

		int irows = rowIndexEnd - rowIndexStart + 1;
		for (int rowIndex = rowIndexEnd; rowIndex >= rowIndexStart; rowIndex--) {
			bodyRows.remove(rowIndex - top);
		}
		for (int irow = rowIndexStart - top; irow < bodyRows
				.size(); irow++) {
			FacesRow facesrow = bodyRows.get(irow);
			facesrow.setRowIndex(facesrow.getRowIndex() - irows);
		}
	}
public static void removeRowsInBody ( final SheetConfiguration sheetConfig , final List < FacesRow > bodyRows , final int rowIndexStart , final int rowIndexEnd ) { int top = sheetConfig . getBodyCellRange ( ) . getTopRow ( ) ; if ( ( rowIndexEnd < rowIndexStart ) || ( rowIndexStart < top ) ) { return ; } int irows = rowIndexEnd - rowIndexStart + 1 ; for ( int rowIndex = rowIndexEnd ; rowIndex >= rowIndexStart ; rowIndex -- ) { bodyRows . remove ( rowIndex - top ) ; } for ( int irow = rowIndexStart - top ; irow < bodyRows . size ( ) ; irow ++ ) { FacesRow facesrow = bodyRows . get ( irow ) ; facesrow . setRowIndex ( facesrow . getRowIndex ( ) - irows ) ; } }
Removes the rows in body.

@param sheetConfig
the sheet config
@param bodyRows
the body rows
@param rowIndexStart
the row index start
@param rowIndexEnd
the row index end