You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/07/04 09:45:54 UTC

[Bug 59791] Convert Cell Type to an enum

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

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
This is a pretty hefty change. It breaks binary compatibility as the
getCellType-like methods return o.a.p.ss.usermodel.CellType enum rather than
int, and I didn't want to bloat the classes with getCellTypeType()-like
methods.
Cell#setCellType(int) is one of the few methods that was able to maintain
backwards compatibility. Nonetheless, if users used Cell.CELL_TYPE_* constants
rather than literals, their code will likely work without modification.

It should be pretty straight-forward to replace all "Cell.CELL_TYPE_" strings
with "CellType." in the user's code.

Applied in r1751237.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org