rename ambiguous variable name shifter -> formulaShifter

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1814247 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2017-11-04 02:57:01 +00:00
parent 4b2f709551
commit 59594b6030

View File

@ -626,8 +626,8 @@ public class XSSFRow implements Row, Comparable<XSSFRow> {
final int srcRowNum = srcRow.getRowNum(); final int srcRowNum = srcRow.getRowNum();
final int destRowNum = getRowNum(); final int destRowNum = getRowNum();
final int rowDifference = destRowNum - srcRowNum; final int rowDifference = destRowNum - srcRowNum;
final FormulaShifter shifter = FormulaShifter.createForRowCopy(sheetIndex, sheetName, srcRowNum, srcRowNum, rowDifference, SpreadsheetVersion.EXCEL2007); final FormulaShifter formulaShifter = FormulaShifter.createForRowCopy(sheetIndex, sheetName, srcRowNum, srcRowNum, rowDifference, SpreadsheetVersion.EXCEL2007);
rowShifter.updateRowFormulas(this, shifter); rowShifter.updateRowFormulas(this, formulaShifter);
// Copy merged regions that are fully contained on the row // Copy merged regions that are fully contained on the row
// FIXME: is this something that rowShifter could be doing? // FIXME: is this something that rowShifter could be doing?