Bug 61749 - Replace case sensitive comparisons where Microsoft Office behavior is case insensitive
Summary: Replace case sensitive comparisons where Microsoft Office behavior is case in...
Status: NEW
Alias: None
Product: POI
Classification: Unclassified
Component: POI Overall (show other bugs)
Version: unspecified
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-12 06:26 UTC by Javen O'Neal
Modified: 2017-12-21 20:51 UTC (History)
0 users



Attachments
case sensitive comparisons that possibly should be case insensitive (4.55 KB, patch)
2017-11-12 06:26 UTC, Javen O'Neal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javen O'Neal 2017-11-12 06:26:15 UTC
Created attachment 35520 [details]
case sensitive comparisons that possibly should be case insensitive

POI may be too restrictive with case sensitive string comparisons, such as sheet names in a workbook. Where the Microsoft Office behavior is case insensitive, POI should use String#equalsIgnoreCase(String) or String.toLowerCase(Locale.ROOT)/String.toUpperCase(Locale.ROOT).

I found a few case sensitive comparisons with a few greps.