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

Remove unused methods in client.am.DateTime

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: 10.10.1.1
    • Component/s: Network Client
    • Labels:
      None

      Description

      The DateTime class contains two unused methods: timestampToDateBytes() and timestampToTimeBytes(). These methods also contain calls to deprecated methods in the java.util.Date class, so it would be good to get rid of them.

      1. d5796-1a.diff
        5 kB
        Knut Anders Hatlen

        Activity

        Hide
        knutanders Knut Anders Hatlen added a comment -

        The attached patch removes the two methods. The derbynet suite passed with the patch. Running the rest of the regression tests now just in case.

        Show
        knutanders Knut Anders Hatlen added a comment - The attached patch removes the two methods. The derbynet suite passed with the patch. Running the rest of the regression tests now just in case.
        Hide
        knutanders Knut Anders Hatlen added a comment -

        Committed revision 1346320.

        Show
        knutanders Knut Anders Hatlen added a comment - Committed revision 1346320.

          People

          • Assignee:
            knutanders Knut Anders Hatlen
            Reporter:
            knutanders Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development