poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60803] in XSSF files getErrorStyle() and setErrorStyle() have mismatching enum values
Date Thu, 02 Mar 2017 18:39:50 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60803

--- Comment #1 from Javen O'Neal <onealj@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


Mime
View raw message