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 2017/03/02 18:39:50 UTC

[Bug 60803] in XSSF files getErrorStyle() and setErrorStyle() have mismatching enum values

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

--- Comment #1 from Javen O'Neal <on...@apache.org> ---
Looks like we're using int constants rather than true enums here. This should
be a pretty trivial fix:
1. Fix off-by-one getter or setter
2. Add DataValidationErrorStyle enum (or something similar)
3. Add enum versions of the accessors:
> DataValidationErrorStyle getErrorStyleEnum()
> void setErrorStyle(DataValidationErrorStyle errorStyle)

Are you interested in tackling this and submitting a patch or pull request?

https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/DataValidation.html

-- 
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