diff --git a/src/java/org/apache/poi/ss/formula/FormulaShifter.java b/src/java/org/apache/poi/ss/formula/FormulaShifter.java index e26cc2c85..a74cc51e4 100644 --- a/src/java/org/apache/poi/ss/formula/FormulaShifter.java +++ b/src/java/org/apache/poi/ss/formula/FormulaShifter.java @@ -457,7 +457,7 @@ public final class FormulaShifter { * Returns null or {@link #RefErrorPtg} if no change was made * * @param aptg - * @return + * @return The Ptg reference if the cell would move due to copy, otherwise null */ private Ptg rowCopyRefPtg(RefPtgBase rptg) { final int refRow = rptg.getRow(); diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index 56cd1e749..610ec2ecd 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -1291,7 +1291,7 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet { * @param startRow the first row number in this sheet to return * @param endRow the last row number in this sheet to return * @param createRowIfMissing - * @return + * @return All rows between startRow and endRow, inclusive * @throws IllegalArgumentException if startRowNum and endRowNum are not in ascending order */ private List getRows(int startRowNum, int endRowNum, boolean createRowIfMissing) {