https://bz.apache.org/bugzilla/show_bug.cgi?id=63118[hidden email] <
[hidden email]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from
[hidden email] <
[hidden email]> ---
Implemented in r1852244 - r1852247.
Changes:
* setCellType is now deprecated (@Removal = 5.0)
* setCellType(FORMULA) on a non-formula cell is illegal and throws an IAE with
a message suggesting to use setCellFormula directly.
* setCellType(FORMULA) on a formula cell does nothing
* added Cell.setBlank() to be the only use case that will survive the removal
of setCellType. Current implementation delegates to setCellType(BLANK), but at
least that's not a part of the public API.
* purged most calls to setCellType within the project. setCellType(BLANK) were
replaced with setBlank, calls with other arguments were removed wherever
possible (i.e. where it didn't break tests). Mostly these calls were in the
test suite. The only (if I didn't miss something) calls were left in tests to
verify value conversions. This logic/tests will pass away when setCellType is
removed.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]