garydgregory commented on PR #726: URL: https://github.com/apache/mina-sshd/pull/726#issuecomment-2809408221
Hi all, I think we should stop using ints and longs to express durations ASAP. Java has Duration class, let's use it. If a duration ends up as int seconds or long milliseconds or whatever scale a low level API in Java needs, that's fine, I just feel there is still room for confusion using primitives. A Duration also offers the best precision on Java 9 and up (nanosecond). -- 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: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org