Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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
          108 kB
          Thomas Koch
        2. ZOOKEEPER-1199.patch
          108 kB
          Thomas Koch
        3. ZOOKEEPER-1199.patch
          107 kB
          Thomas Koch
        4. ZOOKEEPER-1199.patch
          106 kB
          Thomas Koch
        5. ZOOKEEPER-1199.patch
          100 kB
          Thomas Koch
        6. ZOOKEEPER-1199.patch
          100 kB
          Thomas Koch

          Activity

            People

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

              Dates

              • Created:
                Updated: