You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/06/27 10:17:00 UTC

[jira] [Commented] (SOLR-12091) Rename TimeSource.getTime to getTimeNs

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

ASF subversion and git services commented on SOLR-12091:
--------------------------------------------------------

Commit 7bb99906546ea68bd9a8c7f952c448884a7b98f2 in lucene-solr's branch refs/heads/master from Andrzej Bialecki
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7bb9990 ]

SOLR-12091: Fix the test to avoid larger jitter on Windows.


> 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