Bug 46551 - [PATCH] spelling error in exception if createCell(-1) called
Summary: [PATCH] spelling error in exception if createCell(-1) called
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2009-01-16 08:45 UTC by Robert Longson
Modified: 2009-01-16 09:42 UTC (History)
0 users



Attachments
patch (1.38 KB, patch)
2009-01-16 08:45 UTC, Robert Longson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Longson 2009-01-16 08:45:03 UTC
Created attachment 23136 [details]
patch

expected:
You cannot reference columns with an index of less than 0.

actual:
You cannot reference columns with an index of less then 0.

s/then/than/
Comment 1 Josh Micich 2009-01-16 09:42:49 UTC
Fixed in svn r735061

I modified the error messages to include the offending index value.  The message now looks like this:
"Invalid column index (-1).  Allowable column range for BIFF12 is (0..16383) or ('A'..'XFD')"

There was also a bug in the range checking for BIFF12/XSSF
(see changes to TestXSSFCell.testSetCellReference()).  The max cell in XSSF is XFD1048576 (not XFE1048577).  This bug was fixed in the same change list.