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/14 11:11:00 UTC

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

Andrzej Bialecki  created SOLR-12091:
----------------------------------------

             Summary: 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 


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