Bug 60025

Summary: [PATCH] DataFormatter should return TRUE or FALSE for boolean cell values
Product: POI Reporter: Javen O'Neal <onealj>
Component: SS CommonAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal Keywords: PatchAvailable
Priority: P2    
Version: 3.15-dev   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Unit test and DataFormatter fix

Description Javen O'Neal 2016-08-20 05:36:11 UTC
Cell cell;
cell.setCellValue(true);
DataFormatter formatter = new DataFormatter();
assertEquals("TRUE", formatter.formatCellValue(cell, null));

For HSSFWorkbook: Expected "TRUE", got "true".
Comment 1 Javen O'Neal 2016-08-20 05:39:50 UTC
Created attachment 34165 [details]
Unit test and DataFormatter fix

From https://mail-archives.apache.org/mod_mbox/poi-user/201608.mbox/%3CCAM%2BTppKh7NJap883d%2BoWAY0SNXJL-WGO9OStEGXoRqVxSgJ%2BEQ%40mail.gmail.com%3E

Attached unit test and fix to DataFormatter.

Waiting for trunk to be unfrozen before committing.
Comment 2 Javen O'Neal 2016-09-11 03:38:32 UTC
Applied in r1760219. This will likely be included in POI 3.15 final.