Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5627

Remove unused methods in UUID classes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.9.1.0
    • 10.9.1.0
    • Services
    • None

    Description

      The UUIDFactory and UUID interfaces (and their implementations) contain some unused methods that could be removed:

      UUIDFactory/BasicUUIDFactory: The method recreateUUID(byte[]) is not used, except in a unit test (T_UUIDFactory)

      UUID/BasicUUID: The methods toByteArray() and toHexString() are never called, and the constructor BasicUUID(byte[]) is only called by the unused recreateUUID() factory method.

      Attachments

        1. d5627-1a.diff
          6 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: