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

        Thomas Koch created issue -
        Thomas Koch made changes -
        Field Original Value New Value
        Assignee Thomas Koch [ thkoch ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12496091 ]
        Thomas Koch made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12496091 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12496126 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500448 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12496126 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500458 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500490 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500679 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500685 ]
        Thomas Koch made changes -
        Attachment ZOOKEEPER-1199.patch [ 12500698 ]
        Patrick Hunt made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]

          People

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

            Dates

            • Created:
              Updated:

              Development