[ 
https://issues.apache.org/jira/browse/VFS-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Ivankovits resolved VFS-102.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

Good catch.
Applied.

Thanks!
Ciao,
Mario

> Remove idleClient if it's disconnected
> --------------------------------------
>
>                 Key: VFS-102
>                 URL: https://issues.apache.org/jira/browse/VFS-102
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: later
>            Reporter: Sergey Vladimirov
>            Priority: Minor
>             Fix For: 1.1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to