Bug 59790 - Convert FormulaType class to an enum
Summary: Convert FormulaType class to an enum
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: SS Common (show other bugs)
Version: 3.15-dev
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks: 59836
  Show dependency tree
 
Reported: 2016-07-04 05:34 UTC by Javen O'Neal
Modified: 2016-07-10 07:01 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javen O'Neal 2016-07-04 05:34:10 UTC
FormulaType currently uses integer constants. Classes that use these constants are untyped, making it possible to have latent failures for invalid constants or bloating the code with boilerplate value checking.
Comment 1 Javen O'Neal 2016-07-04 05:43:53 UTC
Applied in r1751210.