}
}
// Handle end of row
if (readingTargetSheet && record instanceof LastCellOfRowDummyRecord) {
final LastCellOfRowDummyRecord lastCellOfRowDummyRecord = (LastCellOfRowDummyRecord) record;
final int row = lastCellOfRowDummyRecord.getRow();
if (readingHeaderRow) {
itemReader.headerMapping = new HashMap<String, String>();
for (final Map.Entry<Integer, String> e : headerIndexToLabelMapping.entrySet()) {
itemReader.headerMapping.put(String.valueOf(e.getKey()), e.getValue());
}