Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major 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.

      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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Development