You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2017/05/07 16:21:04 UTC
[jira] [Closed] (MRESOLVER-14) Statistics should be calculated
using System.nanoTime() instead of System.currentTimeMillis()
[ https://issues.apache.org/jira/browse/MRESOLVER-14?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MRESOLVER-14.
-----------------------------------
Resolution: Fixed
Assignee: Christian Schulte
Already fixed by Christian.
> Statistics should be calculated using System.nanoTime() instead of System.currentTimeMillis()
> ---------------------------------------------------------------------------------------------
>
> Key: MRESOLVER-14
> URL: https://issues.apache.org/jira/browse/MRESOLVER-14
> Project: Maven Resolver
> Issue Type: Improvement
> Affects Versions: Maven Artifact Resolver 1.0.3
> Reporter: Christian Schulte
> Assignee: Christian Schulte
> Fix For: Maven Artifact Resolver 1.1.0
>
>
> {{System.currentTimeMillis()}} is prone to clock changes whereas {{System.nanoTime()}} is not. All stats duration shall resolve in nanosecond precision.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)