[
https://issues.apache.org/jira/browse/GEODE-9851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen Nichols closed GEODE-9851.
-------------------------------
> 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
> Assignee: Jacob Barrett
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> 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.7#820007)