tomaswolf commented on code in PR #76:
URL: https://github.com/apache/mina-ftpserver/pull/76#discussion_r2061413053


##########
core/src/main/java/org/apache/ftpserver/impl/FtpIoSession.java:
##########
@@ -924,7 +924,7 @@ public Certificate[] getClientCertificates() {
      * Update the last-access-time session attribute with the current date
      */
     public void updateLastAccessTime() {
-        setAttribute(ATTRIBUTE_LAST_ACCESS_TIME, new Date());
+        setAttribute(ATTRIBUTE_LAST_ACCESS_TIME, System.currentTimeMillis());

Review Comment:
   Given that long is auto-boxed to Long here I don't really see how this would 
reduce GC churn.



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

Reply via email to