Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. ZOOKEEPER-1199.patch
          100 kB
          Thomas Koch
        2. ZOOKEEPER-1199.patch
          100 kB
          Thomas Koch
        3. ZOOKEEPER-1199.patch
          106 kB
          Thomas Koch
        4. ZOOKEEPER-1199.patch
          107 kB
          Thomas Koch
        5. ZOOKEEPER-1199.patch
          108 kB
          Thomas Koch
        6. ZOOKEEPER-1199.patch
          108 kB
          Thomas Koch

        Activity

          People

            thkoch Thomas Koch
            thkoch Thomas Koch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: