}
if (canRemoveRow(startRow, endRow, n, rownum)) {
it.remove();
}
else if (rownum >= startRow && rownum <= endRow) {
new XSSFRowHelper(row).shift(n);
}
} else {
SortedMap<Integer, XSSFCell> oldCells = row.getCells().subMap(Integer.valueOf(lCol), Integer.valueOf(rCol+1));
if (!oldCells.isEmpty()) {
TreeMap<Integer, XSSFCell> cells = new TreeMap<Integer, XSSFCell>(oldCells);