Bug 46551

Summary: [PATCH] spelling error in exception if createCell(-1) called
Product: POI Reporter: Robert Longson <robert_longson>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal Keywords: PatchAvailable
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: patch

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.