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

Thomas Koch updated ZOOKEEPER-1199:
-----------------------------------

    Attachment:     (was: ZOOKEEPER-1199.patch)

> Make OpCode an enum
> -------------------
>
>                 Key: ZOOKEEPER-1199
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1199
>             Project: ZooKeeper
>          Issue Type: Sub-task
>            Reporter: Thomas Koch
>            Assignee: Thomas Koch
>         Attachments: ZOOKEEPER-1199.patch
>
>
> ZooDefs.OpCode is an interface with integer constants. Changing this to an 
> enum provides safety. See "Item 30: Use enums instead of int constants" in 
> Effective Java.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to