Sebastian Nagel created NUTCH-2847:
--------------------------------------

             Summary: HttpDateFormat: Simplify based on new Java 8 DateTime API
                 Key: NUTCH-2847
                 URL: https://issues.apache.org/jira/browse/NUTCH-2847
             Project: Nutch
          Issue Type: Improvement
          Components: protocol
    Affects Versions: 1.18
            Reporter: Sebastian Nagel
             Fix For: 1.19


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|https://www.oracle.com/technical-resources/articles/java/jf14-date-time.html]
 would allow to simplify the code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to