https://bz.apache.org/bugzilla/show_bug.cgi?id=60803

--- Comment #3 from Javen O'Neal <one...@apache.org> ---
Principle of least surprise. Look through the JavaDocs and maybe the
HSSFDataValidation class to see if there's a preference for 0-based indexing or
1-based indexing for getting and setting error styles. If there's no
preference, pick the one that you think will break fewer users' code (maybe
we're 50/50 on this one, I don't know).

What error_style numbers are saved in the XML files of an XLSX file? What
numbers are used for the HSSF binary record?

If all else is equal, the enum to int code will be simplest if we use 0-based
indexing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to