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

[jira] [Resolved] (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:all-tabpanel ]

Sebastian Nagel resolved NUTCH-2847.
------------------------------------
    Resolution: Implemented

> 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)