DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43901>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43901


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From [EMAIL PROTECTED]  2008-01-09 03:25 -------
I'm sorry to disagree, but the Javadoc for HSSFRow.getLastCellNum() says:

public short getLastCellNum()

    gets the number of the last cell contained in this row PLUS ONE.

    Returns:
        short representing the last logical cell in the row PLUS ONE, or -1 if
the row does not contain any cells.

I understand that cell numbers are zero based, but the documentation does say
PLUS ONE.  So if there are three cells, with numbers 0, 1 and 2, I would expect
that getLastCellNum() should return 3, not 2.

If you read a three-column XLS file created in Excel, you DO get 3 as the result
of getLastCellNum().


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to