1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

[fix] Mutex mis-use in FTPService

This commit is contained in:
Martin Oberhuber 2007-04-04 15:50:29 +00:00
parent aefb17b2fb
commit d7130bddc3

View file

@ -670,16 +670,13 @@ public class FTPService extends AbstractFileService implements IFileService, IFT
if(_downloadMutex.waitForLock(monitor, Long.MAX_VALUE))
{
MyProgressMonitor progressMonitor = new MyProgressMonitor(monitor);
IHostFile remoteHostFile = getFile(null,remoteParent,remoteFile);
FTPClient ftpClient = getFTPClient();
try
{
MyProgressMonitor progressMonitor = new MyProgressMonitor(monitor);
IHostFile remoteHostFile = getFile(null,remoteParent,remoteFile);
FTPClient ftpClient = getFTPClient();
remoteParent = adaptPath(remoteParent);
ftpClient.changeWorkingDirectory(remoteParent);
if (isBinary)