Skip to content

Commit

Permalink
Bug 30635: getLastCellNum return last cell num + 1. Made this clear i…
Browse files Browse the repository at this point in the history
…n javadoc.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@442183 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Jason Height committed Sep 11, 2006
1 parent 19ced80 commit 8d29205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/java/org/apache/poi/hssf/record/RowRecord.java
Expand Up @@ -258,8 +258,8 @@ public short getFirstCol()
}

/**
* get the logical col number for the last cell this row (0 based index)
* @return col - the col number
* get the logical col number for the last cell this row plus one (0 based index)
* @return col - the last col number + 1
*/

public short getLastCol()
Expand Down
6 changes: 3 additions & 3 deletions src/java/org/apache/poi/hssf/usermodel/HSSFRow.java
Expand Up @@ -275,7 +275,7 @@ public HSSFCell getCell(short cellnum)

/**
* get the number of the first cell contained in this row.
* @return short representing the first logical cell in the row
* @return short representing the first logical cell in the row, or -1 if the row does not contain any cells.
*/

public short getFirstCellNum()
Expand All @@ -287,8 +287,8 @@ public short getFirstCellNum()
}

/**
* get the number of the last cell contained in this row.
* @return short representing the last logical cell in the row
* gets the number of the last cell contained in this row <b>PLUS ONE</b>.
* @return short representing the last logical cell in the row <b>PLUS ONE</b>, or -1 if the row does not contain any cells.
*/

public short getLastCellNum()
Expand Down

0 comments on commit 8d29205

Please sign in to comment.