You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2018/03/19 11:33:00 UTC
[jira] [Resolved] (SOLR-12091) Rename TimeSource.getTime to
getTimeNs
[ https://issues.apache.org/jira/browse/SOLR-12091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrzej Bialecki resolved SOLR-12091.
--------------------------------------
Resolution: Fixed
> Rename TimeSource.getTime to getTimeNs
> --------------------------------------
>
> Key: SOLR-12091
> URL: https://issues.apache.org/jira/browse/SOLR-12091
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Minor
> Fix For: 7.4, master (8.0)
>
> Attachments: SOLR-12091.patch
>
>
> Spinoff from SOLR-11670. {{TimeSource.getTime()}} and {{getEpochTime}} return values in nanoseconds, which may be confusing. As suggested by [~dsmiley] renaming them to {{getTimeNs}} and {{getEpochTimeNs}} would reduce the likelihood of using their values in situations where milliseconds are expected.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org