Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2847

HttpDateFormat: Simplify based on new Java 8 DateTime API

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 1.18
    • Fix Version/s: 1.19
    • Component/s: protocol
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The class HttpDateFormat is still based on SimpleDateFormat and requires "synchronized" code blocks to avoid race conditions. Using the new Java 8 Date and Time API would allow to simplify the code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                snagel Sebastian Nagel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: