Remove idleClient if it's disconnected
--------------------------------------

                 Key: VFS-102
                 URL: http://issues.apache.org/jira/browse/VFS-102
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: later
            Reporter: Sergey Vladimirov
            Priority: Minor


FtpFileSystem:

    public FtpClient getClient() throws FileSystemException
    {
        synchronized (idleClientSync)
            {
                if (idleClient == null || !idleClient.isConnected())
                {
                    
//Remove idleClient if it's disconnected
                    if (idleClient != null) {
                        // !idleClient.isConnected()
                        idleClient = null;
                    }
                    

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to