You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/01 00:09:00 UTC

[jira] [Commented] (NUTCH-2847) HttpDateFormat: Simplify based on new Java 8 DateTime API

    [ https://issues.apache.org/jira/browse/NUTCH-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276012#comment-17276012 ] 

ASF GitHub Bot commented on NUTCH-2847:
---------------------------------------

lewismc commented on pull request #567:
URL: https://github.com/apache/nutch/pull/567#issuecomment-770477552


   +1


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>            Priority: Minor
>             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)