Bug 54891

Summary: Description for org.apache.poi.ss.usermodel.Row#createCell(int column, int type) is incorrect
Product: POI Reporter: Betlista+poi
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: 3.9-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Betlista+poi 2013-04-25 08:54:24 UTC
JavaDoc reads:

"The cell that is returned is a {@link Cell#CELL_TYPE_BLANK}. The type can be changed either through calling setCellValue or setCellType."

But that is probably incorrect - why should I specify type if type for returned Cell is Cell#CELL_TYPE_BLANK?

In all HSSFRow, SXSSFRow and XSSFRow implementations the implementation is correct (it sets the type), so please fix the JavaDoc.
Comment 1 Nick Burch 2013-05-06 16:53:13 UTC
Good spot, fixed in r1479639.