dweiss commented on code in PR #11856: URL: https://github.com/apache/lucene/pull/11856#discussion_r997342151
########## lucene/core/src/java/org/apache/lucene/index/CheckIndex.java: ########## @@ -4190,7 +4190,7 @@ private static Status.SoftDeletsStatus checkSoftDeletes( } private static double nsToSec(long ns) { - return ns / 1000000000.0; + return ns / (double) TimeUnit.SECONDS.toNanos(1); Review Comment: If you're concerned about it, move it to a constant? I think it'll be negligible. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org