[ https://issues.apache.org/jira/browse/FTPSERVER-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653265#action_12653265 ]
Niklas Gustavsson commented on FTPSERVER-229: --------------------------------------------- Be aware that SimpleDateFormat is not thread-safe and thus can not simply be set as static (this was the reason I did it as a variable). One way is to store a ThreadLocal of SimpleDateFormat instances. > MFMT Command - Code Enhancement > ------------------------------- > > Key: FTPSERVER-229 > URL: https://issues.apache.org/jira/browse/FTPSERVER-229 > Project: FtpServer > Issue Type: Improvement > Components: Core > Affects Versions: 1.0.0-M4 > Reporter: Sai Pullabhotla > Assignee: David Latorre > Fix For: 1.0.0-RC1 > > > MFMT Command - in the source code for this command (MFMT.java), the > DateFormat and > its configuration should be moved to static block for performance and to > reduce object creations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.