XMLWordPrintableJSON

Details

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

    Description

      • order class members: properties, constructor, methods
      • make properties private final
      • rename version to protocolVersion
      • The integer value 0x10000 should be extracted to a constant with a declarative name. But since I don't yet fully understand its purpose, I've no idea for the name of the constant.
      • Initialize properties BinaryInpuutArchive ia, BinaryOutputArchive oa and BuferedOutputSream bufferedOutput in the constructor so that they can be made final.
      • Remove call to sock.setSoTimeout. All two users of the class set the sockettimeout anyways themselfes. This also removes a link to the Leader class.
      • remove unused method packetToString.

      Attachments

        1. ZOOKEEPER-1234.patch
          13 kB
          Thomas Koch
        2. ZOOKEEPER-1234.patch
          12 kB
          Thomas Koch

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m