[ 
https://issues.apache.org/jira/browse/GEODE-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated GEODE-9851:
----------------------------------
    Labels: pull-request-available  (was: )

> Use strongly typed enums rather than int for enumeration like values.
> ---------------------------------------------------------------------
>
>                 Key: GEODE-9851
>                 URL: https://issues.apache.org/jira/browse/GEODE-9851
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Jacob Barrett
>            Priority: Major
>              Labels: pull-request-available
>
> Internally register interest has both an interest policy and data storage 
> policy that it passes around as `int`. Since these values are finite and have 
> well defined values it makes sense to pass them as proper Java enums. 
> Strongly typing them provides compile time checks on acceptable values and 
> makes the code more readable. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to