Description
Methods
org.apache.ftpserver.impl.ServerFtpStatistics#setOpenConnection(FtpIoSession)
org.apache.ftpserver.impl.ServerFtpStatistics#setCloseConnection(FtpIoSession)
are never called from production code.
Command SITE_STAT shows only zeros for connection statistics.
Really, really side note: I have looked at DefaultFtpStatistics class. The counters are AtomicIntegers. As all counters are modified inside synchronized methods, I don't think there is any need for the counters to be AtomicInteger at all. Just int should be enough.